mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 12:29:58 +02:00
@@ -724,6 +724,11 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
});
|
||||
}
|
||||
|
||||
document.body.classList.toggle(
|
||||
"Appearance_dark",
|
||||
this.state.appearance === "dark",
|
||||
);
|
||||
|
||||
if (this.state.isCollaborating && !this.portal.socket) {
|
||||
this.initializeSocketClient({ showLoadingState: true });
|
||||
}
|
||||
|
Reference in New Issue
Block a user