Cosmetics

This commit is contained in:
vdv committed 2022-12-13 08:24:50 +01:00
1 parent a6b5be4f11
commit 102a2feddc
4 files changed
+29 -33

No files matched your search

+3 -2
View File
@@ -6,10 +6,11 @@ import dispatch from '../../workers/dispatcher-main';
interface Props {
gpxId: () => string;
setGpxId: (id: string) => void;
disabled?: boolean;
}
const GpxChooser: Component<Props> = (props: Props) => {
const { gpxId, setGpxId } = props;
const { gpxId, setGpxId, disabled } = props;
const [t] = useI18n();
@@ -36,7 +37,7 @@ const GpxChooser: Component<Props> = (props: Props) => {
};
return (
<FormControl>
<FormControl disabled={disabled}>
<InputLabel variant='normal' htmlFor='gpx-chooser'>
{t('gpxChooser')}
</InputLabel>