- add husky and lint-stages for pre-commit hooks - format entire codebase using `yarn format`
14 lines
328 B
TypeScript
14 lines
328 B
TypeScript
/* istanbul ignore file */
|
|
import '../styles/index.css';
|
|
|
|
// Setup mocks
|
|
if (process.env.NODE_ENV === 'development') {
|
|
const mocks = require('../mocks');
|
|
mocks.initMocks();
|
|
console.warn('You have activated the mocks.');
|
|
}
|
|
|
|
export default function MyApp({ Component, pageProps }) {
|
|
return <Component {...pageProps} />;
|
|
}
|