[WEB-5489] fix: prevent AppRail hook usage outside context in disabled workspace components (#8164)
This commit is contained in:
parent
0240e46f04
commit
e6d584fde7
1 changed files with 4 additions and 4 deletions
|
|
@ -7,13 +7,13 @@ import { WorkspaceAuthWrapper } from "@/plane-web/layouts/workspace-wrapper";
|
||||||
export default function WorkspaceLayout() {
|
export default function WorkspaceLayout() {
|
||||||
return (
|
return (
|
||||||
<AuthenticationWrapper>
|
<AuthenticationWrapper>
|
||||||
<WorkspaceAuthWrapper>
|
|
||||||
<AppRailProvider>
|
<AppRailProvider>
|
||||||
|
<WorkspaceAuthWrapper>
|
||||||
<WorkspaceContentWrapper>
|
<WorkspaceContentWrapper>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</WorkspaceContentWrapper>
|
</WorkspaceContentWrapper>
|
||||||
</AppRailProvider>
|
|
||||||
</WorkspaceAuthWrapper>
|
</WorkspaceAuthWrapper>
|
||||||
|
</AppRailProvider>
|
||||||
</AuthenticationWrapper>
|
</AuthenticationWrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue