@@ -28,11 +26,10 @@ export const AppContainer: FC
> = (props) =>
);
};
-const SidebarFetcher: FC> = ({ user, workspace }) => {
- return (
- 0 ? `?current_workspace=${workspace}` : ""].join("")}
- >
- );
+const SidebarFetcher: FC<{ workspace: string }> = ({ workspace }) => {
+ const params = new URLSearchParams();
+ params.append("style_current_workspace", workspace);
+
+ const getUrl = `/app/hx/sidebar-organizations?${params.toString()}`;
+ return ;
};