style: fix formatting via prettier

This commit is contained in:
2026-08-28 14:29:54 +05:00
parent 10278981ba
commit ada96b3534
124 changed files with 8211 additions and 5662 deletions
+7 -6
View File
@@ -1,14 +1,15 @@
import { error } from '@sveltejs/kit';
import { getTool, TOOLS } from '$lib/registry';
import { t } from '$lib/i18n/t';
import type { EntryGenerator, PageLoad } from './$types';
import { error } from "@sveltejs/kit";
import { getTool, TOOLS } from "$lib/registry";
import { t } from "$lib/i18n/t";
import type { EntryGenerator, PageLoad } from "./$types";
export const entries: EntryGenerator = () => TOOLS.map((tool) => ({ id: tool.id }));
export const entries: EntryGenerator = () =>
TOOLS.map((tool) => ({ id: tool.id }));
export const load: PageLoad = ({ params }) => {
const tool = getTool(params.id);
if (!tool) {
error(404, t('errors.notFound'));
error(404, t("errors.notFound"));
}
return { id: tool.id };
};