use segment

This commit is contained in:
Rich Harris
2018-07-18 11:45:29 -04:00
parent 64837ca8a6
commit 0dc9fabf37
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<Nav {path}/>
<Nav segment={child.segment}/>
<main>
<svelte:component this={child.component} {...child.props}/>