1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 02:12:38 +01:00

little reorganizing

This commit is contained in:
Puyodead1 2023-11-01 10:56:19 -04:00
parent 8afbdeb691
commit 2ebafd8d23
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
6 changed files with 8 additions and 12 deletions

View File

@ -1,4 +0,0 @@
[build]
target = 'x86_64-pc-windows-msvc'
[target]

View File

@ -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`

View File

@ -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")};

View File

@ -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;

View File

@ -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";