mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
feat: privacy page with translation
refactor: apply prettier conf to all files feat: terms of use with translation
This commit is contained in:
@@ -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))
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user