From cba5dbd912a53f6d52ac61ddde0b68f792e2be49 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 12 Oct 2024 13:21:10 +0300 Subject: [PATCH] web: fix lint issues --- web/src/ui/Lightbox.tsx | 2 +- web/src/ui/roomlist/RoomList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/ui/Lightbox.tsx b/web/src/ui/Lightbox.tsx index a4d37d7..7f6b383 100644 --- a/web/src/ui/Lightbox.tsx +++ b/web/src/ui/Lightbox.tsx @@ -14,8 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . import React, { Component, RefObject, createContext, createRef, useCallback, useState } from "react" -import DownloadIcon from "../icons/download.svg?react" import CloseIcon from "../icons/close.svg?react" +import DownloadIcon from "../icons/download.svg?react" import RotateLeftIcon from "../icons/rotate-left.svg?react" import RotateRightIcon from "../icons/rotate-right.svg?react" import ZoomInIcon from "../icons/zoom-in.svg?react" diff --git a/web/src/ui/roomlist/RoomList.tsx b/web/src/ui/roomlist/RoomList.tsx index f73dc01..8d5080b 100644 --- a/web/src/ui/roomlist/RoomList.tsx +++ b/web/src/ui/roomlist/RoomList.tsx @@ -22,7 +22,7 @@ import "./RoomList.css" interface RoomListProps { setActiveRoom: (room_id: RoomID) => void - activeRoomID: RoomID + activeRoomID: RoomID | null } const RoomList = ({ setActiveRoom, activeRoomID }: RoomListProps) => {