Skip to content

Commit

Permalink
Add translations data to edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
mdirolf committed Apr 14, 2024
1 parent 6b35b08 commit 1a8a85b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/pages/edit/[puzzleId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ import {
import { markdownToHast } from '../../lib/markdown/markdown';
import { Markdown } from '../../components/Markdown';
import { GridContext } from '../../components/GridContext';
import { withTranslation } from '../../lib/translation';

export const getServerSideProps = withTranslation(() => {
return Promise.resolve({ props: {} });
});

const ImageCropper = dynamic(
() => import('../../components/ImageCropper').then((mod) => mod.ImageCropper),
Expand Down

0 comments on commit 1a8a85b

Please sign in to comment.