mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-05 14:18:45 -05:00
8dbf2b64f8
* Notify about unsaved changes * Move system message components and types to shared folder * Add system messages component GitOrigin-RevId: ab81a24888847bd9a8a390fd1af6b58f471f7a4b
15 lines
446 B
TypeScript
15 lines
446 B
TypeScript
import { memo } from 'react'
|
|
import ForceDisconnected from '@/features/ide-react/components/modals/force-disconnected'
|
|
import { UnsavedDocs } from '@/features/ide-react/components/unsaved-docs/unsaved-docs'
|
|
import SystemMessages from '@/shared/components/system-messages'
|
|
|
|
export const Modals = memo(() => {
|
|
return (
|
|
<>
|
|
<ForceDisconnected />
|
|
<UnsavedDocs />
|
|
<SystemMessages />
|
|
</>
|
|
)
|
|
})
|
|
Modals.displayName = 'Modals'
|