chore: upgrade i18next 26, prettier 3, fontsource-variable, domhandler 6, lint-staged 17
CI / Build & Quality Checks (push) Successful in 10m13s

- i18next 23->26 + react-i18next 15->17
- prettier 2->3, reformat all files
- replace @fontsource/inter with @fontsource-variable/inter 5, update import path
- domhandler 5->6 (aligns with transitive deps)
- lint-staged 16->17
This commit is contained in:
Lotus Bot
2026-05-21 23:30:50 -04:00
parent 98fde12682
commit 23008670f3
363 changed files with 1443 additions and 1419 deletions
+6 -6
View File
@@ -77,7 +77,7 @@ const useTopActiveRooms = (
searchRoomType: SearchRoomType | undefined,
rooms: string[],
directs: string[],
spaces: string[]
spaces: string[],
) => {
const mx = useMatrixClient();
@@ -98,7 +98,7 @@ const useTopActiveRooms = (
const getDmUserId = (
roomId: string,
getRoom: (roomId: string) => Room | undefined,
myUserId: string
myUserId: string,
): string | undefined => {
const room = getRoom(roomId);
const targetUserId = room && guessDmRoomUserId(room, myUserId);
@@ -109,7 +109,7 @@ const useSearchTargetRooms = (
searchRoomType: SearchRoomType | undefined,
rooms: string[],
directs: string[],
spaces: string[]
spaces: string[],
) =>
useMemo(() => {
if (searchRoomType === undefined) {
@@ -167,7 +167,7 @@ export function Search({ requestClose }: SearchProps) {
}
return roomName;
},
[getRoom, mDirects, mx]
[getRoom, mDirects, mx],
);
const [result, search, resetSearch] = useAsyncSearch(targetRooms, getTargetStr, SEARCH_OPTIONS);
@@ -441,8 +441,8 @@ export function SearchModalRenderer() {
setOpen(true);
}
},
[opened, setOpen]
)
[opened, setOpen],
),
);
return opened && <Search requestClose={() => setOpen(false)} />;