File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2222 text: ' In Code' ,
2323 href: ' /hash-routing/in-code' ,
2424 activeFor: ' hr-in-code' ,
25- activeState: { class: ' active' , aria: { ' aria- current' : ' page' } }
25+ activeState: { class: ' active' , aria: { current: ' page' } }
2626 },
2727 ];
2828 </script >
Original file line number Diff line number Diff line change 88 </script >
99
1010<script lang =" ts" >
11- import { Link } from ' @svelte-router/core' ;
11+ import { Link , type ActiveState } from ' @svelte-router/core' ;
1212 import { slide } from ' svelte/transition' ;
1313
1414 type Props = {
Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import { location } from ' @svelte-router/core' ;
33 import Alert from ' ../../Alert.svelte' ;
4+ import { getTitleContext } from ' ../../state/title.svelte' ;
5+
6+ getTitleContext ().current = ' New Feature (Redirector Demo)' ;
47 </script >
58
69<article class =" container" >
You can’t perform that action at this time.
0 commit comments