Skip to content

Commit

Permalink
fix: @strapi/design-system does not provide an export named 'Page' (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
  • Loading branch information
hung-enzo and jhoward1994 authored Sep 4, 2024
1 parent 566012c commit 7793105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/plugin/init/files/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export { PluginIcon };
`;

const APP_CODE = outdent`
import { Page } from '@strapi/design-system';
import { Page } from '@strapi/strapi/admin';
import { Routes, Route } from 'react-router-dom';
import { HomePage } from './HomePage';
Expand Down

0 comments on commit 7793105

Please sign in to comment.