Commit ceddd5d
fix: make store exports callable (Pinia composable pattern)
defineStore returns the store object directly, not a function.
Wrap in a function so useSidebar() works as a composable call.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 70d86d3 commit ceddd5d
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments