Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 04:23:53 +11:00
parent 3cd159a63e
commit a6ad8651b3
605 changed files with 11480 additions and 9125 deletions
+21 -5
View File
@@ -8,13 +8,29 @@ import React, {
useRef,
useState,
} from 'react';
import { Box, Button, Chip, IconButton, Input, Line, Menu, MenuItem, PopOut, RectCords, Scroll, Spinner, Text, config, toRem } from 'folds';
import { Icon, Icons } from '../../../components/icons';
import {
Box,
Button,
Chip,
IconButton,
Input,
Line,
Menu,
MenuItem,
PopOut,
RectCords,
Scroll,
Spinner,
Text,
config,
toRem,
} from 'folds';
import { useNavigate, useParams, useSearchParams } from 'react-router-dom';
import FocusTrap from 'focus-trap-react';
import { useAtomValue } from 'jotai';
import { useQuery } from '@tanstack/react-query';
import { MatrixClient, Method, RoomType } from 'matrix-js-sdk';
import { Icon, Icons } from '../../../components/icons';
import { Page, PageContent, PageContentCenter, PageHeader } from '../../../components/page';
import { useMatrixClient } from '../../../hooks/useMatrixClient';
import { RoomTopicViewer } from '../../../components/room-topic-viewer';
@@ -38,7 +54,7 @@ const useServerSearchParams = (searchParams: URLSearchParams): ExploreServerPath
type: searchParams.get('type') ?? undefined,
instance: searchParams.get('instance') ?? undefined,
}),
[searchParams]
[searchParams],
);
type RoomTypeFilter = {
@@ -61,7 +77,7 @@ const useRoomTypeFilters = (): RoomTypeFilter[] =>
value: 'null',
},
],
[]
[],
);
const FALLBACK_ROOMS_LIMIT = 24;
@@ -374,7 +390,7 @@ export function PublicRooms() {
room_types: roomType !== undefined ? [roomType] : undefined,
},
third_party_instance_id: serverSearchParams.instance,
}
},
);
}, [mx, server, serverSearchParams]);