Fix inert type to boolean and apply linter formatting

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-04-02 18:06:46 -04:00
commit bf31ae6cfc

View file

@ -28,9 +28,7 @@ export function ServerListScreen({
onImportServerJson,
}: ServerListScreenProps) {
const [compact, setCompact] = useState<boolean>(false);
const [activeServer, setActiveServer] = useState<
string | undefined
>();
const [activeServer, setActiveServer] = useState<string | undefined>();
function handleToggleList() {
setCompact((prev) => (prev === true ? false : true));