diff --git a/frontend/src/pages/WorkspaceSettings/index.jsx b/frontend/src/pages/WorkspaceSettings/index.jsx
index 1ee44f7db..d43530018 100644
--- a/frontend/src/pages/WorkspaceSettings/index.jsx
+++ b/frontend/src/pages/WorkspaceSettings/index.jsx
@@ -19,6 +19,7 @@ import GeneralAppearance from "./GeneralAppearance";
import ChatSettings from "./ChatSettings";
import VectorDatabase from "./VectorDatabase";
import Members from "./Members";
+import useUser from "@/hooks/useUser";
const TABS = {
"general-appearance": GeneralAppearance,
@@ -40,6 +41,7 @@ export default function WorkspaceSettings() {
function ShowWorkspaceChat() {
const { slug, tab } = useParams();
+ const { user } = useUser();
const [workspace, setWorkspace] = useState(null);
const [loading, setLoading] = useState(true);
@@ -98,6 +100,7 @@ function ShowWorkspaceChat() {
title="Members"
icon={