diff --git a/components/CategoryList.js b/components/CategoryList.js index f9197cd8..d803ef78 100644 --- a/components/CategoryList.js +++ b/components/CategoryList.js @@ -2,6 +2,9 @@ import Link from 'next/link' import React from 'react' const CategoryList = ({ currentCategory, categories }) => { + if (!categories) { + return <> + } return