From 759848caad44c07d5ee8971bfd0ea2f651ae6111 Mon Sep 17 00:00:00 2001 From: Jono M Date: Thu, 23 Nov 2023 14:59:36 +0000 Subject: [PATCH] Remove Toaster from AdminX demo (#19119) no issue It's already rendered by `DesignSystemApp` so we shouldn't need to add it explicitly. --- apps/admin-x-demo/src/ListPage.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/admin-x-demo/src/ListPage.tsx b/apps/admin-x-demo/src/ListPage.tsx index 6e3f248298..9a075bc08e 100644 --- a/apps/admin-x-demo/src/ListPage.tsx +++ b/apps/admin-x-demo/src/ListPage.tsx @@ -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 = ( -