🍧 Updates imports to use barrel exports

This commit is contained in:
Rune Harlyk
2024-08-19 23:53:38 +02:00
parent 62fa5f79b6
commit 44fa0bd3e2
9 changed files with 15 additions and 22 deletions
+2
View File
@@ -0,0 +1,2 @@
export { default as PasswordInput } from './InputPassword.svelte';
export { default as VerticalSlider } from './VerticalSlider.svelte';
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import logo from '$lib/assets/logo512.png';
import InputPassword from '$lib/components/input/InputPassword.svelte';
import { PasswordInput } from '$lib/components/input';
import { user } from '$lib/stores/user';
import { notifications } from '$lib/components/toasts/notifications';
import { fade, fly } from 'svelte/transition';
@@ -64,7 +64,7 @@
<label class="label" for="pwd">
<span class="label-text text-md">Password</span>
</label>
<InputPassword id="pwd" bind:value={password} />
<PasswordInput id="pwd" bind:value={password} />
<div class="card-actions mt-4 justify-end">
<button