Skip to content

Commit

Permalink
removed App from antd
Browse files Browse the repository at this point in the history
  • Loading branch information
anasnadeemws committed Sep 6, 2024
1 parent 4bcddac commit b365a53
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import globalStyle from '@app/global-styles';
import { Global } from '@emotion/react';
import { translationMessages, DEFAULT_LOCALE } from '@app/i18n';
import { wrapper } from '@app/configureStore';
import { App } from 'antd';
import PropTypes from 'prop-types';
const theme = {
colors
Expand All @@ -17,9 +16,7 @@ const MyApp = ({ Component, pageProps }) => {
<IntlProvider locale={DEFAULT_LOCALE} key={DEFAULT_LOCALE} messages={translationMessages[DEFAULT_LOCALE]}>
<ThemeProvider theme={theme}>
<Global styles={globalStyle} />
<App>
<Component {...pageProps} />
</App>
<Component {...pageProps} />
</ThemeProvider>
</IntlProvider>
);
Expand Down

0 comments on commit b365a53

Please sign in to comment.