Skip to content

Commit

Permalink
build fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
anasnadeemws committed Sep 5, 2024
1 parent f98731a commit 4bcddac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"build:prod": "env-cmd -f environments/.env.production next build && next export",
"build:qa": "env-cmd -f environments/.env.qa next build && next export",
"build:dev": "env-cmd -f environments/.env.development next build && next export",
"build:prod": "env-cmd -f environments/.env.production next build",
"build:qa": "env-cmd -f environments/.env.qa next build",
"build:dev": "env-cmd -f environments/.env.development next build",
"start:prod": "env-cmd -f environments/.env.production next start",
"start:qa": "env-cmd -f environments/.env.qa next dev",
"start:dev": "env-cmd -f environments/.env.development next dev",
Expand Down
7 changes: 4 additions & 3 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import globalStyle from '@app/global-styles';
import { Global } from '@emotion/react';
import { translationMessages, DEFAULT_LOCALE } from '@app/i18n';
import { wrapper } from '@app/configureStore';
import 'antd/dist/reset.css';
import { App } from 'antd';
import PropTypes from 'prop-types';

const theme = {
colors
};
Expand All @@ -18,7 +17,9 @@ const MyApp = ({ Component, pageProps }) => {
<IntlProvider locale={DEFAULT_LOCALE} key={DEFAULT_LOCALE} messages={translationMessages[DEFAULT_LOCALE]}>
<ThemeProvider theme={theme}>
<Global styles={globalStyle} />
<Component {...pageProps} />
<App>
<Component {...pageProps} />
</App>
</ThemeProvider>
</IntlProvider>
);
Expand Down

0 comments on commit 4bcddac

Please sign in to comment.