diff --git a/components/CategoryList.js b/components/CategoryList.js index 00bee60f..d036dc5d 100644 --- a/components/CategoryList.js +++ b/components/CategoryList.js @@ -2,13 +2,16 @@ import Link from 'next/link' import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faFolder, faFolderOpen, faThList } from '@fortawesome/free-solid-svg-icons' +import { useGlobal } from '@/lib/global' const CategoryList = ({ currentCategory, categories }) => { if (!categories) { return <> } + const { locale } = useGlobal() + return