Turn off the accepted rules and fix the design tokens, alt text, and last type errors. [skip build]
Checks / checks (push) Successful in 2m18s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
litruv committed 2026-11-03 01:10:06 +11:00
1 parent 3db9b499af
commit 17d1eef572
73 files changed
+283 -217

No files matched your search

@@ -142,6 +142,7 @@ export function Permissions({ requestClose }: PermissionsProps) {
// Preserve all users in child room who have power >= mine
if (childPowerLevels.users) {
Object.entries(childPowerLevels.users).forEach(([userId, power]) => {
if (typeof power !== 'number') return;
if (power >= myPowerInChild) {
mergedUsers[userId] = power;
}
@@ -249,6 +250,7 @@ export function Permissions({ requestClose }: PermissionsProps) {
// Preserve all users in child room who have power >= mine
if (childPowerLevels.users) {
Object.entries(childPowerLevels.users).forEach(([userId, power]) => {
if (typeof power !== 'number') return;
if (power >= myPowerInChild) {
mergedUsers[userId] = power;
}
@@ -418,7 +420,10 @@ export function Permissions({ requestClose }: PermissionsProps) {
)}
{syncError && (
<Text size="T300" style={{ color: color.Critical.Main }}>
Error syncing permissions: {syncState.error.message}
Error syncing permissions:{' '}
{syncState.error instanceof Error
? syncState.error.message
: String(syncState.error)}
</Text>
)}
</Box>
@@ -452,7 +457,10 @@ export function Permissions({ requestClose }: PermissionsProps) {
)}
{powerLevelsSyncError && (
<Text size="T300" style={{ color: color.Critical.Main }}>
Error syncing power levels: {syncPowerLevelsState.error.message}
Error syncing power levels:{' '}
{syncPowerLevelsState.error instanceof Error
? syncPowerLevelsState.error.message
: String(syncPowerLevelsState.error)}
</Text>
)}
</Box>