Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
supun-io committed Dec 11, 2024
1 parent c26f9a8 commit 190517e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
3 changes: 0 additions & 3 deletions icons/src/routes/+page.svelte

This file was deleted.

8 changes: 0 additions & 8 deletions icons/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};

export default config;
2 changes: 1 addition & 1 deletion src/routes/i18n-app/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import Base from '../../lib/components/Base/Base.svelte';
import InternationalizationProvider from '../../lib/components/Internationalization/InternationalizationProvider.svelte';
import en from './locale/en.json';
import en from './locale/en.json' with { type: "json" };
interface Props {
children?: import('svelte').Snippet;
}
Expand Down
4 changes: 1 addition & 3 deletions src/routes/i18n-app/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
import { InternationalizationService } from './../../lib/components/Internationalization/i18n.js';
import { onMount, getContext, setContext } from 'svelte';
import PricingLink from './stringComponents/PricingLink.svelte';
import T from '$lib/components/Internationalization/T.svelte';
import { t } from '$lib/components/Internationalization/t.js';
import ChangeButton from './ChangeButton.svelte';
import LanguageToggle from '../../lib/components/Internationalization/LanguageToggle.svelte';
import TextInput from '../../lib/components/TextInput/TextInput.svelte';
import type enJson from './locale/en.json';
import enJson from './locale/en.json' with { type: "json" };
import type { ToDotPaths } from '$lib/components/Internationalization/types.js';
import Context from './stringComponents/Context.svelte';
import HyvorBar from '$lib/components/HyvorBar/HyvorBar.svelte';
Expand Down

0 comments on commit 190517e

Please sign in to comment.