Drop the unused imports and the inert unused variables. [skip build]
Checks / checks (push) Successful in 2m16s
Trigger cinny-mobile / dispatch (push) Successful in 2s

This commit is contained in:
2026-11-01 06:09:31 +11:00
parent c46d4d367e
commit 2d3bebdc23
34 changed files with 26 additions and 162 deletions
@@ -1,4 +1,4 @@
import React, { ImgHTMLAttributes, forwardRef, useEffect, useState } from 'react';
import React, { ImgHTMLAttributes, forwardRef } from 'react';
import { useAuthenticatedMediaUrl } from '../../hooks/useAuthenticatedMediaUrl';
import { useMediaAuthentication } from '../../hooks/useMediaAuthentication';
-1
View File
@@ -29,7 +29,6 @@ import { RenderElement, RenderLeaf } from './Elements';
import { CustomElement } from './slate';
import * as css from './Editor.css';
import { toggleKeyboardShortcut } from './keyboard';
import { createCommandElement } from './utils';
const initialValue: CustomElement[] = [
{
@@ -55,7 +55,6 @@ import { EmojiBoardTab, EmojiType } from './types';
import { VirtualTile } from '../virtualizer';
const MOST_USED_GROUP_ID = 'most_used_group';
const RECENT_GROUP_ID = 'recent_group';
const SEARCH_GROUP_ID = 'search_group';
type EmojiGroupItem = {
+1 -1
View File
@@ -1,5 +1,5 @@
import { style } from '@vanilla-extract/css';
import { DefaultReset, toRem } from 'folds';
import { DefaultReset } from 'folds';
export const Image = style([
DefaultReset,
+1 -6
View File
@@ -15,12 +15,7 @@ import { useNavigate } from 'react-router-dom';
import { WindowControls } from './WindowControls';
import { UpdateNotification } from '../update-notification';
import * as css from './TitleBar.css';
import {
getUnreadInfos,
getOrphanParents,
guessPerfectParent,
getAllParents,
} from '../../utils/room';
import { getUnreadInfos, getOrphanParents, guessPerfectParent } from '../../utils/room';
import { getCanonicalAliasOrRoomId, getMxIdLocalPart, isRoomId } from '../../utils/matrix';
import { activeRoomIdAtom } from '../../state/activeRoom';
import { roomToParentsAtom } from '../../state/room/roomToParents';
@@ -1,7 +1,6 @@
import React, { useState, useEffect } from 'react';
import { Box, IconButton } from 'folds';
import { Box } from 'folds';
import { invoke } from '@tauri-apps/api/core';
import { Icon } from '../icons';
import * as css from './WindowControls.css';
export function WindowControls() {
@@ -1,7 +1,6 @@
import { useCallback, useEffect, useState } from 'react';
import { useAtom, useSetAtom } from 'jotai';
import {
loadCurrentUpdateDocument,
loadUpdateDocument,
loadUpdateManifest,
type ParsedUpdateDoc,
@@ -26,7 +26,7 @@ import { getDirectCreatePath, withSearchParam } from '../../pages/pathUtils';
import { DirectCreateSearchParams } from '../../pages/paths';
import { getTextShadowColor } from '../../utils/common';
import { BreakWord, LineClamp3 } from '../../styles/Text.css';
import colorMXID, { getColorMXIDValue } from '../../../util/colorMXID';
import { getColorMXIDValue } from '../../../util/colorMXID';
import { useOtherUserColor } from '../../hooks/useUserColor';
type UserRoomProfileProps = {