Skip to content

Commit

Permalink
chore: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Jan 11, 2025
1 parent 77a467b commit 7226ca2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
{form}
label={m.criticality()}
field="criticality"
always_enabled={true}
inversedColors
fullDonut
min_score={1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
{form}
label={m.criticality()}
field="criticality"
always_enabled={true}
inversedColors
fullDonut
min_score={1}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { nestedWriteFormAction } from '$lib/utils/actions';
import { BASE_API_URL } from '$lib/utils/constants';
import { getModelInfo, urlParamModelVerboseName } from '$lib/utils/crud';
import { getModelInfo } from '$lib/utils/crud';
import { modelSchema } from '$lib/utils/schemas';
import { fail, setError, superValidate } from 'sveltekit-superforms';
import type { PageServerLoad } from './$types';
import * as m from '$paraglide/messages';
import type { Actions } from '@sveltejs/kit';
import { superValidate } from 'sveltekit-superforms';
import { zod } from 'sveltekit-superforms/adapters';
import { setFlash } from 'sveltekit-flash-message/server';
import * as m from '$paraglide/messages';
import { z } from 'zod';
import { nestedWriteFormAction } from '$lib/utils/actions';
import type { PageServerLoad } from './$types';

export const load = (async ({ fetch, params }) => {
const URLModel = 'compliance-assessments';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<script lang="ts">
import { page } from '$app/stores';
import Checkbox from '$lib/components/Forms/Checkbox.svelte';
import Score from '$lib/components/Forms/Score.svelte';
import CreateModal from '$lib/components/Modals/CreateModal.svelte';
import DeleteConfirmModal from '$lib/components/Modals/DeleteConfirmModal.svelte';
import {
Expand All @@ -19,11 +22,8 @@
type ModalSettings,
type ModalStore
} from '@skeletonlabs/skeleton';
import type { Actions, PageData } from '../../table-mode/$types';
import { page } from '$app/stores';
import Score from '$lib/components/Forms/Score.svelte';
import { superForm } from 'sveltekit-superforms';
import Checkbox from '$lib/components/Forms/Checkbox.svelte';
import type { Actions, PageData } from './$types';
export let data: PageData;
export let form: Actions;
Expand Down

0 comments on commit 7226ca2

Please sign in to comment.