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:
parent
8e73bc6ffb
commit
bf31ae6cfc
1 changed files with 8 additions and 7 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue