We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f5126 commit 0370ce9Copy full SHA for 0370ce9
pages/kategorier.js
@@ -8,15 +8,11 @@ import { FETCH_ALL_CATEGORIES_QUERY } from 'utils/gql/GQL_QUERIES';
8
/**
9
* Category page displays all of the categories
10
*/
11
-const CategoryPage = ({ categories }) => {
12
- return (
13
- <>
14
- <PageTemplate title="Kategorier" input={categories}>
15
- {categories && <Categories categories={categories} />}
16
- </PageTemplate>
17
- </>
18
- );
19
-};
+const CategoryPage = ({ categories }) => (
+ <PageTemplate title="Kategorier" input={categories}>
+ {categories && <Categories categories={categories} />}
+ </PageTemplate>
+);
20
21
export default CategoryPage;
22
0 commit comments