diff --git a/client/src/assets/types.ts b/client/src/assets/types.ts index 5507f810..9b03dbc6 100644 --- a/client/src/assets/types.ts +++ b/client/src/assets/types.ts @@ -211,7 +211,7 @@ export interface Config { start_lat: number start_lon: number tile_server: string - scanner_type: string + scanner_type: 'rdm' | 'unown' | 'hybrid' logged_in: boolean dangerous: boolean } diff --git a/client/src/components/buttons/SaveToScanner.tsx b/client/src/components/buttons/SaveToScanner.tsx index 1c29cff1..a537c93f 100644 --- a/client/src/components/buttons/SaveToScanner.tsx +++ b/client/src/components/buttons/SaveToScanner.tsx @@ -11,12 +11,12 @@ export default function SaveToScanner({ fc, ...rest }: Props) { const [loading, setLoading] = React.useState(false) return (