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
@@ -1,8 +1,24 @@
import React, { FormEventHandler, MouseEventHandler, useCallback, useMemo, useState } from 'react';
import { Box, Text, Chip, IconButton, Scroll, Button, Input, RectCords, PopOut, Menu, config, Spinner, toRem, TooltipProvider, Tooltip } from 'folds';
import { Icon, Icons } from '../../../components/icons';
import {
Box,
Text,
Chip,
IconButton,
Scroll,
Button,
Input,
RectCords,
PopOut,
Menu,
config,
Spinner,
toRem,
TooltipProvider,
Tooltip,
} from 'folds';
import { HexColorPicker } from 'react-colorful';
import { useAtomValue } from 'jotai';
import { Icon, Icons } from '../../../components/icons';
import { Page, PageContent, PageHeader } from '../../../components/page';
import { IPowerLevels } from '../../../hooks/usePowerLevels';
import { SequenceCard } from '../../../components/sequence-card';
@@ -211,7 +227,7 @@ function EditPower({ maxPower, power, tag, onSave, onClose }: EditPowerProps) {
onClick={
((evt) =>
setCords(
evt.currentTarget.getBoundingClientRect()
evt.currentTarget.getBoundingClientRect(),
)) as MouseEventHandler<HTMLButtonElement>
}
type="button"
@@ -307,7 +323,7 @@ export function PowersEditor({ powerLevels, requestClose }: PowersEditorProps) {
return editedTags;
});
},
[powerLevelTags]
[powerLevelTags],
);
const [applyState, applyChanges] = useAsyncCallback(
@@ -317,7 +333,7 @@ export function PowersEditor({ powerLevels, requestClose }: PowersEditorProps) {
delete content[power];
});
await mx.sendStateEvent(room.roomId, StateEvent.PowerLevelTags as any, content);
}, [mx, room, powerLevelTags, editedPowerTags, deleted])
}, [mx, room, powerLevelTags, editedPowerTags, deleted]),
);
const resetChanges = useCallback(() => {