Skip to content

Commit

Permalink
Fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykay-p committed Dec 20, 2020
1 parent 1ee199c commit be24ed2
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions packages/dodam/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
import '../styles/bootstrap.scss';
import { Fragment } from 'react';
import { Navigation } from '@dodam/components';

function Dodam({ Component, pageProps }) {
console.log(Component);
return (
<Fragment>
<Navigation title="도담도담" />
<div className="dodam-root">
<Component {...pageProps} />
</div>
const Dodam = ({ Component, pageProps }) => (
<>
<Navigation title="도담도담" />
<div className="dodam-root">
<Component {...pageProps} />
</div>

<style jsx>
{`
.dodam-root {
padding: 58px 8px 8px 8px;
}
`}
</style>
</Fragment>
);
}
<style jsx>
{`
.dodam-root {
padding: 58px 8px 8px 8px;
}
`}
</style>
</>
);

export default Dodam;

0 comments on commit be24ed2

Please sign in to comment.