diff --git a/space/package.json b/space/package.json
index 7dabf45c9..241027859 100644
--- a/space/package.json
+++ b/space/package.json
@@ -37,6 +37,7 @@
"nprogress": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+ "react-dropzone": "^14.2.3",
"react-hook-form": "^7.38.0",
"swr": "^2.2.2",
"tailwind-merge": "^2.0.0",
diff --git a/web/components/profile/preferences/preferences-mobile-header.tsx b/web/components/profile/preferences/preferences-mobile-header.tsx
index 41ad464ae..4d1e3505b 100644
--- a/web/components/profile/preferences/preferences-mobile-header.tsx
+++ b/web/components/profile/preferences/preferences-mobile-header.tsx
@@ -24,7 +24,6 @@ export const PreferencesMobileHeader = () => {
console.log(router.asPath)}
className={cn(
"flex justify-around py-2 w-full",
router.asPath.includes(link.label.toLowerCase()) ? "border-b-2 border-custom-primary-100" : ""
diff --git a/web/layouts/auth-layout/admin-wrapper.tsx b/web/layouts/auth-layout/admin-wrapper.tsx
deleted file mode 100644
index c58f3e076..000000000
--- a/web/layouts/auth-layout/admin-wrapper.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { FC, ReactNode } from "react";
-import { observer } from "mobx-react";
-// hooks
-import { useAppRouter } from "@/hooks/store";
-// components
-
-export interface IAdminAuthWrapper {
- children: ReactNode;
-}
-
-export const AdminAuthWrapper: FC = observer(({ children }) => {
- // store hooks
- const { workspaceSlug } = useAppRouter();
- // FIXME:
- // const { isUserInstanceAdmin, currentUserSettings } = useUser();
- // redirect url
- const redirectWorkspaceSlug =
- workspaceSlug ||
- // currentUserSettings?.workspace?.last_workspace_slug ||
- // currentUserSettings?.workspace?.fallback_workspace_slug ||
- "";
-
- console.log("redirectWorkspaceSlug", redirectWorkspaceSlug);
-
- // if user does not have admin access to the instance
- // if (isUserInstanceAdmin !== undefined && isUserInstanceAdmin === false) {
- // return ;
- // }
-
- return <>{children}>;
-});
diff --git a/web/layouts/auth-layout/index.ts b/web/layouts/auth-layout/index.ts
index 026f66ea8..241c7bcb9 100644
--- a/web/layouts/auth-layout/index.ts
+++ b/web/layouts/auth-layout/index.ts
@@ -1,3 +1,2 @@
export * from "./workspace-wrapper";
export * from "./project-wrapper";
-export * from "./admin-wrapper";
diff --git a/web/pages/onboarding/index.tsx b/web/pages/onboarding/index.tsx
index 2aba40cab..1b9f4aa9a 100644
--- a/web/pages/onboarding/index.tsx
+++ b/web/pages/onboarding/index.tsx
@@ -141,7 +141,7 @@ const OnboardingPage: NextPageWithLayout = observer(() => {
handleStepChange();
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [user, step, updateCurrentUser, workspacesList]);
+ }, [user, step, profile.onboarding_step, updateCurrentUser, workspacesList]);
return (
<>
diff --git a/web/store/user/index.ts b/web/store/user/index.ts
index 6f9be2dca..6bc7c23f3 100644
--- a/web/store/user/index.ts
+++ b/web/store/user/index.ts
@@ -106,7 +106,6 @@ export class UserStore implements IUserStore {
this.isLoading = false;
this.isAuthenticated = false;
});
- console.log("this.isLoading", this.isLoading);
return user;
} catch (error) {
runInAction(() => {