Skip to content

Commit

Permalink
fixup! Feat: Example NextJS app with app router #DS-1393
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Aug 16, 2024
1 parent a11166c commit 2c1f640
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/next-with-app-router/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
// interface which extends some other interface is not considered as meaningful interface
// we need this for meeting our component API conventions
// @see: https://typescript-eslint.io/rules/no-empty-interface/
"@typescript-eslint/no-empty-interface": ["error", { "allowSingleExtends": true }]
"@typescript-eslint/no-empty-interface": ["error", { "allowSingleExtends": true }],
"react/react-in-jsx-scope": "off"
}
}
2 changes: 1 addition & 1 deletion examples/next-with-app-router/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactNode } from 'react';
import { ReactNode } from 'react';

const RootLayout = ({ children }: Readonly<{ children: ReactNode }>) => {
return (
Expand Down
1 change: 0 additions & 1 deletion examples/next-with-app-router/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Heading } from '@lmc-eu/spirit-web-react';
import { NextPage } from 'next';
import React from 'react';
import './globals.scss';

const Home: NextPage = () => {
Expand Down

0 comments on commit 2c1f640

Please sign in to comment.