diff --git a/src/room/InCallView.jsx b/src/room/InCallView.jsx index 8c22d98..a6f54a2 100644 --- a/src/room/InCallView.jsx +++ b/src/room/InCallView.jsx @@ -14,7 +14,7 @@ import SimpleVideoGrid from "matrix-react-sdk/src/components/views/voip/GroupCal import "matrix-react-sdk/res/css/views/voip/GroupCallView/_VideoGrid.scss"; import { getAvatarUrl } from "../ConferenceCallManagerHooks"; import { GroupCallInspector } from "../GroupCallInspector"; -import { OverflowMenu } from "../OverflowMenu"; +import { OverflowMenu } from "./OverflowMenu"; import { GridLayoutMenu } from "../GridLayoutMenu"; import { Avatar } from "../Avatar"; import { UserMenuContainer } from "../UserMenuContainer"; diff --git a/src/room/LobbyView.jsx b/src/room/LobbyView.jsx index 3ff8bd4..f13c975 100644 --- a/src/room/LobbyView.jsx +++ b/src/room/LobbyView.jsx @@ -6,7 +6,7 @@ import { GroupCallState } from "matrix-js-sdk/src/webrtc/groupCall"; import { useCallFeed } from "matrix-react-sdk/src/hooks/useCallFeed"; import { useMediaStream } from "matrix-react-sdk/src/hooks/useMediaStream"; import { getRoomUrl } from "../ConferenceCallManagerHooks"; -import { OverflowMenu } from "../OverflowMenu"; +import { OverflowMenu } from "./OverflowMenu"; import { UserMenuContainer } from "../UserMenuContainer"; import { Body, Link } from "../typography/Typography"; diff --git a/src/OverflowMenu.jsx b/src/room/OverflowMenu.jsx similarity index 77% rename from src/OverflowMenu.jsx rename to src/room/OverflowMenu.jsx index 2937909..26df17e 100644 --- a/src/OverflowMenu.jsx +++ b/src/room/OverflowMenu.jsx @@ -1,15 +1,15 @@ import React, { useCallback } from "react"; -import { Button } from "./button"; -import { Menu } from "./Menu"; -import { PopoverMenuTrigger } from "./PopoverMenu"; +import { Button } from "../button"; +import { Menu } from "../Menu"; +import { PopoverMenuTrigger } from "../PopoverMenu"; import { Item } from "@react-stately/collections"; -import { ReactComponent as SettingsIcon } from "./icons/Settings.svg"; -import { ReactComponent as AddUserIcon } from "./icons/AddUser.svg"; -import { ReactComponent as OverflowIcon } from "./icons/Overflow.svg"; -import { useModalTriggerState } from "./Modal"; -import { SettingsModal } from "./settings/SettingsModal"; -import { InviteModal } from "./InviteModal"; -import { Tooltip, TooltipTrigger } from "./Tooltip"; +import { ReactComponent as SettingsIcon } from "../icons/Settings.svg"; +import { ReactComponent as AddUserIcon } from "../icons/AddUser.svg"; +import { ReactComponent as OverflowIcon } from "../icons/Overflow.svg"; +import { useModalTriggerState } from "../Modal"; +import { SettingsModal } from "../settings/SettingsModal"; +import { InviteModal } from "../InviteModal"; +import { Tooltip, TooltipTrigger } from "../Tooltip"; export function OverflowMenu({ roomId,