diff --git a/packages/tui/src/context/storage.tsx b/packages/tui/src/context/storage.tsx index 0f1303c7817..40d050f69a0 100644 --- a/packages/tui/src/context/storage.tsx +++ b/packages/tui/src/context/storage.tsx @@ -82,7 +82,7 @@ function createStorage(root: string, channel: string) { const Context = createContext() export function StorageProvider(props: ParentProps) { - const result = createStorage(path.join(useTuiPaths().state, "storage"), useTuiApp().channel) + const result = createStorage(useTuiPaths().state, useTuiApp().channel) onCleanup(result.close) return {props.children} }