Removed redundant async functions

This commit is contained in:
Henrik Larsson
2023-08-13 22:46:48 +02:00
parent 671e3744db
commit 4cb866b01b
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ interface CategoryPageParams {
data: object | any;
}
export default async function CategoryPage({ data }: CategoryPageParams) {
export default function CategoryPage({ data }: CategoryPageParams) {
const category = data;
const { title } = category;