Skip to content

Commit

Permalink
Removes private import from custom-hook.
Browse files Browse the repository at this point in the history
The `custom-hook` example was importing `ComponentAccessor` directly, it should be importing from the public entry point.
  • Loading branch information
dgp1130 committed Dec 4, 2024
1 parent ef6033f commit 2ab19be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/demo/hooks/custom-hook.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { HydroActiveComponent, defineSignalComponent } from 'hydroactive';
import { ComponentAccessor } from 'hydroactive/component-accessor.js';
import { ComponentAccessor, HydroActiveComponent, defineSignalComponent } from 'hydroactive';
import { bind } from 'hydroactive/signal-accessors.js';
import { Signal, signal } from 'hydroactive/signals.js';

Expand Down

0 comments on commit 2ab19be

Please sign in to comment.