feat: privacy page with translation

refactor: apply prettier conf to all files

feat: terms of use with translation
This commit is contained in:
Sonny
2023-11-19 18:58:49 +01:00
parent 5bdd42afdb
commit 6d5afee4f4
55 changed files with 725 additions and 118 deletions

View File

@@ -29,7 +29,7 @@ export default function PageCreateCategory({
const canSubmit = useMemo<boolean>(
() => name.length !== 0 && !submitted,
[name.length, submitted]
[name.length, submitted],
);
const handleSubmit = async (event: FormEvent<HTMLFormElement>) => {
@@ -82,5 +82,5 @@ export const getServerSideProps = withAuthentication(
...(await getServerSideTranslation(locale))
}
};
}
},
);