We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149d718 commit 3db7693Copy full SHA for 3db7693
playground/pages/home.tsx
@@ -114,7 +114,7 @@ export const Home = () => {
114
}}
115
/>
116
<div class="m-8">
117
- <Show when={!params.user}>
+ <Show when={!params.user} fallback={<h1 class="text-center text-3xl mb-4">{`${params.user}'s`} Repls</h1>}>
118
<div class="flex flex-col align-middle mb-16">
119
<button
120
class="bg-solid-lightgray shadow-md dark:bg-solid-darkLighterBg rounded-xl p-4 text-3xl flex mx-auto"
@@ -147,8 +147,6 @@ export const Home = () => {
147
</p>
148
</div>
149
</Show>
150
-
151
- <h1 class="text-center text-3xl mb-4">{params.user ? `${params.user}'s` : 'My'} Repls</h1>
152
<table class="w-200 max-w-full mx-auto">
153
<thead>
154
<tr class="border-b border-neutral-600">
0 commit comments