Skip to content

Commit

Permalink
Rename variable to 'hydrating'
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 2, 2023
1 parent 1b620a3 commit d11d232
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/app.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ table tr:nth-last-child(-n + 2) .dropdown {
}
}

.unhydrated {
.hydrating {
.input,
input,
button {
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
}
}
let unhydrated = true;
onMount(() => unhydrated = false);
let hydrating = true;
onMount(() => hydrating = false);
</script>

<svelte:head>
Expand All @@ -38,7 +38,7 @@
{/if}
</svelte:head>

<div class="flex flex-col justify-between min-h-full" class:unhydrated>
<div class="flex flex-col justify-between min-h-full" class:hydrating>
<div class="flex flex-col flex-grow">
<slot />
</div>
Expand Down

0 comments on commit d11d232

Please sign in to comment.