diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index 9f9b141b..5d652d2a 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -25,6 +25,7 @@ import { useOverlayScroller } from '@gpustack/core-ui'; import { + Access, Outlet, dropByCacheKey, getAllLocales, @@ -387,6 +388,7 @@ export default (props: any) => { writeState }} slots={coreUISlots} + access={{ Access, useAccess }} >