Remove Toaster from AdminX demo (#19119)
no issue It's already rendered by `DesignSystemApp` so we shouldn't need to add it explicitly.
This commit is contained in:
parent
a037ce3dde
commit
759848caad
@ -1,5 +1,4 @@
|
||||
import {Avatar, Button, ButtonGroup, DynamicTable, DynamicTableColumn, DynamicTableRow, Heading, Hint, Page, SortMenu, Tooltip, ViewContainer, showToast} from '@tryghost/admin-x-design-system';
|
||||
import {Toaster} from 'react-hot-toast';
|
||||
import {useRouting} from '@tryghost/admin-x-framework/routing';
|
||||
import {useState} from 'react';
|
||||
|
||||
@ -224,7 +223,6 @@ const ListPage = () => {
|
||||
|
||||
const demoPage = (
|
||||
<Page>
|
||||
<Toaster />
|
||||
<ViewContainer
|
||||
actions={dummyActions}
|
||||
primaryAction={{
|
||||
|
Loading…
Reference in New Issue
Block a user