[web] Add toast notifications to editor (#21567)

GitOrigin-RevId: 7f7ab83d4615f564c0e79bc2a05ca6cb9e5239fd
This commit is contained in:
Mathias Jakobsen
2024-11-11 09:05:12 +00:00
committed by Copybot
parent a50d76f4ea
commit cb72799fff
14 changed files with 363 additions and 1 deletions
@@ -9,6 +9,7 @@ import { useRegisterUserActivity } from '@/features/ide-react/hooks/use-register
import { useHasLintingError } from '@/features/ide-react/hooks/use-has-linting-error'
import { Modals } from '@/features/ide-react/components/modals/modals'
import { GlobalAlertsProvider } from '@/features/ide-react/context/global-alerts-context'
import { GlobalToasts } from '../global-toasts'
export default function IdePage() {
useLayoutEventTracking() // sent event when the layout changes
@@ -24,6 +25,7 @@ export default function IdePage() {
<Modals />
<EditorLeftMenu />
<MainLayout />
<GlobalToasts />
</GlobalAlertsProvider>
)
}