Skip to content

Commit

Permalink
Issue #PS-000 chore: Fixed build Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aar-if committed Jun 28, 2024
1 parent 8eb36f5 commit 94c2322
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pages/blocks/components/FilterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
import { Search, Close } from '@mui/icons-material';
import { useTranslation } from 'next-i18next';
import { useTheme } from '@mui/material/styles';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';

interface FilterModalProps {
open: boolean;
Expand Down Expand Up @@ -155,4 +156,13 @@ const FilterModal: React.FC<FilterModalProps> = ({
);
};

export async function getStaticProps({ locale }: any) {
return {
props: {
...(await serverSideTranslations(locale, ['common'])),
// Other props you want to pass to your component
},
};
}

export default FilterModal;

0 comments on commit 94c2322

Please sign in to comment.