chore: apply oxlint fix-suggestions (unused imports + useless fragments)

Scoped to only `no-unused-vars` and `react/jsx-no-useless-fragment` —
the safe subset of --fix-suggestions. Primary changes:

- Remove unused named imports from statements
- Remove unused default/type imports entirely
- Collapse `<><Single/></>` fragments to `<Single/>`

Verified clean: typecheck + format + lint all green.
This commit is contained in:
Mohamed Boudra
2026-04-23 21:55:25 +07:00
parent 731c570b25
commit cda3d1d46c
49 changed files with 70 additions and 207 deletions
@@ -1,13 +1,10 @@
// EventTarget polyfill is required for the Flow SDK to work in React Native
import "event-target-polyfill";
import { Buffer } from "buffer";
import { Button, StyleSheet, Text, View } from "react-native";
import { Platform } from "react-native";
import {
type MicrophoneDataCallback,
type VolumeLevelCallback,
getMicrophoneModeIOS,
initialize,
playPCMData,
toggleRecording,
@@ -22,7 +19,7 @@ import {
useFlow,
useFlowEventListener,
} from "@speechmatics/flow-client-react";
import { useCallback, useEffect, useState, useSyncExternalStore } from "react";
import { useCallback, useEffect, useState } from "react";
import { useSharedValue } from "react-native-reanimated";
import { getFlowAPIJwt } from "./auth";
import VolumeDisplay from "./volume-display";