Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
micque01 committed Dec 12, 2023
1 parent 4afe73d commit f3037db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/training/TrainingButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import { Paths, navigate } from '../../router/paths';
import { gestures } from '../../script/stores/Stores';
export let type: ButtonVariant = "primary";
export let type: ButtonVariant = 'primary';
$: trainButtonLabel = !$state.isPredicting
? 'menu.trainer.trainModelButton'
Expand Down Expand Up @@ -45,7 +45,7 @@
trainingDialogOpen = true;
}}
disabled={trainingButtonDisabled}
type={type}
{type}
>{$t(trainButtonLabel)}
</StandardButton>

Expand All @@ -58,7 +58,7 @@
<div class="flex justify-end gap-3">
<StandardButton onClick={closeTrainingDialog}
>{$t('connectMB.backButton')}</StandardButton>
<StandardButton type={type} onClick={startTraining}
<StandardButton {type} onClick={startTraining}
>{$t('content.data.trainDialog.title')}</StandardButton>
</div>
</div>
Expand Down

0 comments on commit f3037db

Please sign in to comment.