Skip to content

Commit ea3b357

Browse files
committed
Add fallback to Show to test #342
1 parent 0caca2c commit ea3b357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sandbox/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const App: s.Component = () => {
175175
component='div'
176176
style={{height: '1rem', 'margin-top': '1rem'}}
177177
>
178-
<s.Show when={showEven()}>
178+
<s.Show when={showEven()} fallback={<span>Count is very odd</span>}>
179179
{s.createComponent(() => <>
180180
<BoldWrapper/>
181181
</>, {})}

0 commit comments

Comments
 (0)