File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ const AdminApp = () => (
7979export default AdminApp ;
8080```
8181
82- Then create a ` src/components/AdminApp .tsx ` file with the following:
82+ Then create a ` src/components/Admin .tsx ` file with the following:
8383
8484``` tsx
8585" use client" ;
@@ -106,10 +106,10 @@ The file to modify depends on the router system you chose during setup:
106106- Pages Router: ` src/pages/index.tsx ` .
107107
108108``` tsx
109- import AdminApp from " ./components/Admin" ;
109+ import Admin from " ./components/Admin" ;
110110
111111export default function Page() {
112- return <AdminApp />
112+ return <Admin />
113113};
114114```
115115
@@ -131,10 +131,10 @@ This implies the creation of a new page in the Next.js app. Create a new file at
131131No matter which system you choose, the file should contain the same code:
132132
133133``` tsx
134- import AdminApp from " ../components/Admin" ;
134+ import Admin from " ../components/Admin" ;
135135
136136export default function Page() {
137- return <AdminApp />
137+ return <Admin />
138138};
139139```
140140
You can’t perform that action at this time.
0 commit comments