enzostvs HF staff commited on
Commit
0dfbd23
β€’
1 Parent(s): 549506b

model name url

Browse files
src/lib/components/models/drawer/Drawer.svelte CHANGED
@@ -11,8 +11,8 @@
11
 
12
  let { open, model } = get(modelStore);
13
 
14
- let author = model?.id.split('/')[0];
15
- let repo = model?.id.split('/')[1];
16
 
17
  modelStore.subscribe((value) => {
18
  open = value?.open;
 
11
 
12
  let { open, model } = get(modelStore);
13
 
14
+ $: author = model?.id.split('/')[0];
15
+ $: repo = model?.id.split('/')[1];
16
 
17
  modelStore.subscribe((value) => {
18
  open = value?.open;