♻️ Address pull request feedback

This commit is contained in:
Meier Lukas committed 2023-08-06 14:12:39 +02:00
1 parent 4b2c5f2816
commit 9e576f1498
53 files changed
+934 -746

No files matched your search

+1 -6
View File
@@ -200,12 +200,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res, locale
await helpers.user.withSettings.prefetch();
await helpers.boards.all.prefetch();
const translations = await getServerSideTranslations(
['user/preferences'],
locale,
undefined,
undefined
);
const translations = await getServerSideTranslations(['user/preferences'], locale, req, res);
return {
props: {
...translations,