web: fix lint issues

This commit is contained in:
Tulir Asokan 2024-10-12 13:21:10 +03:00
parent 5e0b8fc089
commit cba5dbd912
2 changed files with 2 additions and 2 deletions

View file

@ -14,8 +14,8 @@
// You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
import React, { Component, RefObject, createContext, createRef, useCallback, useState } from "react" 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 CloseIcon from "../icons/close.svg?react"
import DownloadIcon from "../icons/download.svg?react"
import RotateLeftIcon from "../icons/rotate-left.svg?react" import RotateLeftIcon from "../icons/rotate-left.svg?react"
import RotateRightIcon from "../icons/rotate-right.svg?react" import RotateRightIcon from "../icons/rotate-right.svg?react"
import ZoomInIcon from "../icons/zoom-in.svg?react" import ZoomInIcon from "../icons/zoom-in.svg?react"

View file

@ -22,7 +22,7 @@ import "./RoomList.css"
interface RoomListProps { interface RoomListProps {
setActiveRoom: (room_id: RoomID) => void setActiveRoom: (room_id: RoomID) => void
activeRoomID: RoomID activeRoomID: RoomID | null
} }
const RoomList = ({ setActiveRoom, activeRoomID }: RoomListProps) => { const RoomList = ({ setActiveRoom, activeRoomID }: RoomListProps) => {