Heftig rekatorering

This commit is contained in:
Håkon Størdal 2025-09-03 19:10:17 +02:00
parent 3261e4c3bf
commit 1e32dd67c4
5 changed files with 13 additions and 12 deletions

View file

@ -3,7 +3,6 @@
interface Props extends ExerciseConfig {
value: number;
defaultValue: number;
}
let {
@ -16,7 +15,7 @@
}: Props = $props();
// Destructure the remaining props for easier access
const { icon, name, quickAddOptions, defaultValue, unit } = restProps;
const { icon, name, quickAddOptions, unit } = restProps;
const label = unit ? `${icon} ${name} (${unit})` : `${icon} ${name}`;
@ -47,7 +46,6 @@
{min}
{max}
{step}
{defaultValue}
required={true}
class="flex-1 rounded-md border border-gray-300 px-3 py-2 focus:ring-2 focus:ring-blue-500 focus:outline-none"
/>