Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit fc9266b

Browse files
committed
fixed example
1 parent dcaf6cd commit fc9266b

File tree

1 file changed

+2
-2
lines changed
  • examples/react/develop/functional-component-ts/src/core

1 file changed

+2
-2
lines changed

examples/react/develop/functional-component-ts/src/core/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Agile, {
66
createStorage,
77
createStorageManager,
88
Item,
9-
registerSharedStorageManager,
9+
assignSharedAgileStorageManager,
1010
} from '@agile-ts/core';
1111
import Event from '@agile-ts/event';
1212
import { assignSharedAgileLoggerConfig, Logger } from '@agile-ts/logger';
@@ -19,7 +19,7 @@ export const App = new Agile();
1919
assignSharedAgileInstance(App);
2020

2121
export const storageManager = createStorageManager({ localStorage: true });
22-
registerSharedStorageManager(storageManager);
22+
assignSharedAgileStorageManager(storageManager);
2323

2424
// Register custom second Storage
2525
storageManager.register(

0 commit comments

Comments
 (0)