Skip to content

Commit

Permalink
Fix SSR imports (zbycz#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik authored Jun 6, 2024
1 parent fae4f1b commit e6b7760
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import App from 'next/app';
import Head from 'next/head';
import CssBaseline from '@mui/material/CssBaseline';
import nextCookies from 'next-cookies';
import { CssBaseline } from '@mui/material';
import { UserThemeProvider } from '../src/helpers/theme';
import { GlobalStyle } from '../src/helpers/GlobalStyle';
import { captureException, initSentry } from '../src/helpers/sentry';
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import Document, {
Main,
NextScript,
} from 'next/document';
import { ServerStyleSheets } from '@mui/styles';
import { ServerStyleSheet } from 'styled-components';
import type { DocumentContext } from 'next/dist/shared/lib/utils';
import { ServerStyleSheets } from '@mui/styles';
import { getServerIntl } from '../src/services/intlServer';
import { InjectIntl, setIntl } from '../src/services/intl';
import { FaviconsOsmapp } from '../src/helpers/FaviconsOsmapp';
Expand Down
2 changes: 1 addition & 1 deletion src/components/helpers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Fragment, useCallback, useEffect, useState } from 'react';
import { Map, MapEventType } from 'maplibre-gl';
import useMediaQuery from '@mui/material/useMediaQuery';
import { useMediaQuery } from '@mui/material';

export const useToggleState = (
initialState: boolean,
Expand Down

0 comments on commit e6b7760

Please sign in to comment.