Heftig rekatorering
This commit is contained in:
parent
3261e4c3bf
commit
1e32dd67c4
5 changed files with 13 additions and 12 deletions
|
|
@ -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"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue