From e0dca2e0c7b2879e58e5408ba0a967215a6e953b Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Mon, 5 Jun 2023 17:33:20 +0200 Subject: [PATCH] Cleanup test code from AdminX refs. https://github.com/TryGhost/Team/issues/3351 --- ghost/admin-x-settings/src/App.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ghost/admin-x-settings/src/App.tsx b/ghost/admin-x-settings/src/App.tsx index d53098d3f6..1f34fb35f7 100644 --- a/ghost/admin-x-settings/src/App.tsx +++ b/ghost/admin-x-settings/src/App.tsx @@ -6,32 +6,17 @@ import Settings from './components/Settings'; import Sidebar from './components/Sidebar'; import {ServicesProvider} from './components/providers/ServiceProvider'; import {Toaster} from 'react-hot-toast'; -import {showToast} from './admin-x-ds/global/Toast'; interface AppProps { ghostVersion: string; } function App({ghostVersion}: AppProps) { - // const notify = () => toast.success('Here is your toast.', { - // duration: 10000000, - // position: 'bottom-left' - // }); - - const notify = () => showToast({ - message: 'Hello toast', - options: { - duration: 1000000, - position: 'bottom-left' - } - }); - return (
-