fix: TS errors, serialize calls, unused imports, pre-commit hook
Build & Deploy / build (push) Successful in 32s
Build & Deploy / docker (push) Successful in 1m42s

This commit is contained in:
Kevin
2026-07-07 20:49:52 +02:00
parent 15d3a13d0a
commit c4cad4f875
16 changed files with 27 additions and 101 deletions
-5
View File
@@ -9,7 +9,6 @@ const { props } = usePage<{
errors: Record<string, string>
}>()
const { components, states } = props
const errors = computed(() => props.errors || {})
const componentTypeOrder = [
'Processor',
@@ -48,10 +47,6 @@ const form = reactive({
globalScore: 0,
componentsId: [] as number[],
})
function getErrorMessage(field: string): string | null {
return errors.value[field] || null
}
</script>
<template>