mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
[web] Add offline indicator to toolbar (#35368)
GitOrigin-RevId: 81127bff21afb6aadcf175ba1767a2629f01d747
This commit is contained in:
@@ -26,9 +26,9 @@ type UnsavedDocsContextValue = {
|
||||
isLocked: boolean
|
||||
}
|
||||
|
||||
const UnsavedDocsContext = createContext<UnsavedDocsContextValue | undefined>(
|
||||
undefined
|
||||
)
|
||||
export const UnsavedDocsContext = createContext<
|
||||
UnsavedDocsContextValue | undefined
|
||||
>(undefined)
|
||||
|
||||
export const UnsavedDocsProvider: FC<React.PropsWithChildren> = ({
|
||||
children,
|
||||
|
||||
Reference in New Issue
Block a user