Skip to content

Commit e6738d3

Browse files
committed
refactor: clean up code
1 parent a7d6f07 commit e6738d3

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/pages/_app.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export default function App({ Component, pageProps, router }: AppProps) {
3434
},
3535
]}
3636
/>
37-
3837
{getLayout(<Component {...pageProps}></Component>)}
3938
</>
4039
)

src/pages/users/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ function Users({ fetchedUsers }: Props) {
2222
)
2323

2424
// Next.js API
25-
2625
const getStaticProps: GetStaticProps<Partial<Props>> = async () => {
2726
return {
2827
props: {

src/utils/http.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function post<Data, Res>(body: Data) {
2828
}
2929

3030
// utils
31-
3231
// see: https://bit.ly/2JVfEgv
3332
function handleErrors<Err>(res: Response) {
3433
if (!res.ok)

0 commit comments

Comments
 (0)