Function: useAmnesiaScope()
useAmnesiaScope(
scopeId?):Amnesia
Defined in: provider.tsx:193
Resolve an Amnesia store from the provider api. With an explicit
scopeId, pins to that scope and never re-renders on active-scope
changes. Without one, tracks the current active scope and re-renders
when it changes.
Parameters
| Parameter | Type |
|---|---|
scopeId? | string |