diff --git a/frontend/src/components/headers/DocumentHeader.tsx b/frontend/src/components/headers/DocumentHeader.tsx
index a9b03cfa..9eb26a1d 100644
--- a/frontend/src/components/headers/DocumentHeader.tsx
+++ b/frontend/src/components/headers/DocumentHeader.tsx
@@ -4,16 +4,15 @@ import VerticalSplitIcon from "@mui/icons-material/VerticalSplit";
import VisibilityIcon from "@mui/icons-material/Visibility";
import {
AppBar,
- CircularProgress,
IconButton,
Paper,
Stack,
ToggleButton,
ToggleButtonGroup,
Toolbar,
- Tooltip,
+ Tooltip
} from "@mui/material";
-import { lazy, Suspense, useEffect } from "react";
+import { useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
import { useNavigate } from "react-router-dom";
import { useUserPresence } from "../../hooks/useUserPresence";
@@ -22,8 +21,8 @@ import { selectWorkspace } from "../../store/workspaceSlice";
import DownloadMenu from "../common/DownloadMenu";
import ShareButton from "../common/ShareButton";
import ThemeButton from "../common/ThemeButton";
+import UserPresenceList from "./UserPresenceList";
-const UserPresenceList = lazy(() => import("./UserPresenceList"));
function DocumentHeader() {
const dispatch = useDispatch();
const navigate = useNavigate();
@@ -87,9 +86,7 @@ function DocumentHeader() {
- }>
-
-
+
{!editorState.shareRole && }