Commit b3d67fe
committed
Bugfix: break quick-look toast/content import cycle
`QuickLookHintToastContent.svelte` imported `QUICK_LOOK_HINT_TOAST_ID` from `quick-look-hint.ts`, which in turn imports the component to feed `addToast`. Extract the constant to a tiny `quick-look-hint-id.ts` module so both sides depend on the leaf, not each other. Unblocks the `import-cycles` check.1 parent a3e15f4 commit b3d67fe
3 files changed
Lines changed: 9 additions & 2 deletions
File tree
- apps/desktop/src/lib/file-explorer/quick-look
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments