refactor(panel): set defaultOpen parameter of whitelist card to false

This commit is contained in:
Lemon-miaow committed 2026-07-02 03:30:50 +08:00
1 parent 149f01a332
commit 4ecaf3c6cb
1 file changed
+1 -1
@@ -19,7 +19,7 @@ import {
* entry, and read the current list. Built to stay usable at a few hundred names —
* a live count, a filter and paging (via usePagedNames) once the list is long
* enough to need them, and a two-step remove so a name never vanishes on one tap. */
export function WhitelistSection({ name, defaultOpen = true }: { name: string; defaultOpen?: boolean }) {
export function WhitelistSection({ name, defaultOpen = false }: { name: string; defaultOpen?: boolean }) {
const { t } = useTranslation("servers");
const { data, error, loading, reload } = useAsync(
() => api.accessWhitelistList(name),