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:
Jono M 2023-11-23 14:59:36 +00:00 committed by GitHub
parent a037ce3dde
commit 759848caad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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={{