mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
little reorganizing
This commit is contained in:
parent
8afbdeb691
commit
2ebafd8d23
@ -1,4 +0,0 @@
|
||||
[build]
|
||||
target = 'x86_64-pc-windows-msvc'
|
||||
|
||||
[target]
|
@ -2,7 +2,7 @@ import { ChannelType } from "@spacebarchat/spacebar-api-types/v9";
|
||||
import { observer } from "mobx-react-lite";
|
||||
import { AutoSizer, List, ListRowProps } from "react-virtualized";
|
||||
import styled from "styled-components";
|
||||
import { useAppStore } from "../stores/AppStore";
|
||||
import { useAppStore } from "../../stores/AppStore";
|
||||
import ChannelListItem from "./ChannelListItem";
|
||||
|
||||
const Container = styled.div`
|
@ -2,11 +2,11 @@ import { useModals } from "@mattjennings/react-modal-stack";
|
||||
import React from "react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import styled from "styled-components";
|
||||
import { ContextMenuContext } from "../contexts/ContextMenuContext";
|
||||
import Channel from "../stores/objects/Channel";
|
||||
import { IContextMenuItem } from "./ContextMenuItem";
|
||||
import Icon from "./Icon";
|
||||
import CreateInviteModal from "./modals/CreateInviteModal";
|
||||
import { ContextMenuContext } from "../../contexts/ContextMenuContext";
|
||||
import Channel from "../../stores/objects/Channel";
|
||||
import { IContextMenuItem } from "../ContextMenuItem";
|
||||
import Icon from "../Icon";
|
||||
import CreateInviteModal from "../modals/CreateInviteModal";
|
||||
|
||||
const ListItem = styled.div<{ isCategory?: boolean }>`
|
||||
padding: ${(props) => (props.isCategory ? "16px 8px 0 0" : "1px 8px 0 0")};
|
@ -2,9 +2,9 @@ import { observer } from "mobx-react-lite";
|
||||
import styled from "styled-components";
|
||||
import { useAppStore } from "../stores/AppStore";
|
||||
import ChannelHeader from "./ChannelHeader";
|
||||
import ChannelList, { EmptyChannelList } from "./ChannelList";
|
||||
import Container from "./Container";
|
||||
import UserPanel from "./UserPanel";
|
||||
import ChannelList, { EmptyChannelList } from "./channellist/ChannelList";
|
||||
|
||||
const Wrapper = styled(Container)`
|
||||
display: flex;
|
||||
|
@ -6,7 +6,7 @@ import useLogger from "../../hooks/useLogger";
|
||||
import { useAppStore } from "../../stores/AppStore";
|
||||
import Channel from "../../stores/objects/Channel";
|
||||
import Guild from "../../stores/objects/Guild";
|
||||
import MemberList from "../MemberList";
|
||||
import MemberList from "../memberlist/MemberList";
|
||||
import ChatHeader from "./ChatHeader";
|
||||
import MessageInput from "./MessageInput";
|
||||
import MessageList from "./MessageList";
|
||||
|
Loading…
Reference in New Issue
Block a user