refactor: prefer barrel exports

This commit is contained in:
James Xylight committed 2025-09-07 09:50:01 -07:00
1 parent cbd27a38a0
commit 0281e6f56a
64 files changed
+181 -249

No files matched your search

@@ -1,15 +1,15 @@
<script lang="ts">
import { profile } from '$lib/auth.svelte.js'
import { getClient, site } from '$lib/client/lemmy.svelte'
import type { SaveUserSettings } from '$lib/client/types'
import ImageInputUpload from '$lib/components/form/ImageInputUpload.svelte'
import MarkdownEditor from '$lib/components/markdown/MarkdownEditor.svelte'
import Header from '$lib/components/ui/layout/pages/Header.svelte'
import SectionTitle from '$lib/components/ui/SectionTitle.svelte'
import { t } from '$lib/i18n/translations.js'
import { getClient, site } from '$lib/client/lemmy.svelte'
import type { SaveUserSettings } from '$lib/client/types'
import {
Badge,
Button,
Label,
Material,
Menu,
MenuButton,
@@ -112,9 +112,9 @@
{$t('form.profile.showRead')}
</Switch>
<div class="space-y-1">
<SectionTitle id="languages">
<Label id="languages">
{$t('form.profile.languages.title')}
</SectionTitle>
</Label>
<p>{$t('form.profile.languages.description')}</p>
<Material rounding="xl" color="uniform" class="dark:bg-zinc-950">
{#if site.data && formData.discussion_languages}