-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: cleanup error * fix: bring back check --------- Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
- Loading branch information
1 parent
7093159
commit 743739a
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<script lang="ts"> | ||
import { Text, TextType } from 'shared/components' | ||
export let error = '' | ||
import { Text } from 'shared/components' | ||
export let error: string | null | ||
</script> | ||
|
||
{#if error !== null} | ||
<div class="inline-block w-full h-full mt-1"> | ||
<Text type={TextType.p} classes="inline-block" error>{error}</Text> | ||
<Text classes="inline-block" error>{error}</Text> | ||
</div> | ||
{/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters