File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/frontend/src/lib/examples Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { onMount } from 'svelte';
4
4
import { NavPage } from ' @podman-desktop/ui-svelte' ;
5
5
import { bootcClient } from ' /@/api/client' ;
6
6
import ExamplesCard from ' ./ExamplesCard.svelte' ;
7
+ import { SvelteMap } from ' svelte/reactivity' ;
7
8
8
9
let groups: Map <Category , Example []> = new Map ();
9
10
@@ -18,7 +19,7 @@ onMount(async () => {
18
19
19
20
const categoryDict = Object .fromEntries (examples .categories .map ((category : Category ) => [category .id , category ]));
20
21
21
- const output: Map <Category , Example []> = new Map ();
22
+ const output: SvelteMap <Category , Example []> = new SvelteMap ();
22
23
23
24
for (const example of examples .examples ) {
24
25
if (example .categories .length === 0 ) {
You can’t perform that action at this time.
0 commit comments