reorganize
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import { Chat } from "../Model/chatModel";
|
||||
import { closeChatView } from "../Model/model";
|
||||
import { translation } from "../translations";
|
||||
import { Chat } from "../../Model/chatModel";
|
||||
import { closeChatView } from "../../Model/model";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
export function ChatOptionModal(chat: Chat, isPresented: React.State<boolean>) {
|
||||
function closeModal() {
|
||||
@@ -1,8 +1,8 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import { Chat, Item } from "../Model/chatModel";
|
||||
import { Chat, Item } from "../../Model/chatModel";
|
||||
|
||||
import { translation } from "../translations";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
export function ChatToolView(chat: Chat) {
|
||||
function createItem() {
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import { Chat } from "../Model/chatModel";
|
||||
import { translation } from "../translations";
|
||||
import { Chat } from "../../Model/chatModel";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
export function MessageComposer(chat: Chat) {
|
||||
return (
|
||||
@@ -1,9 +1,9 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import { Chat, ChatMessage } from "../Model/chatModel";
|
||||
import { Chat, ChatMessage } from "../../Model/chatModel";
|
||||
|
||||
import { isShowingChatTools } from "../Model/model";
|
||||
import { translation } from "../translations";
|
||||
import { isShowingChatTools } from "../../Model/model";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
export function ThreadView(chat: Chat) {
|
||||
const messageConverter: React.StateItemConverter<ChatMessage> = (message) => {
|
||||
@@ -7,10 +7,10 @@ import {
|
||||
newChatName,
|
||||
selectChat,
|
||||
selectedChat,
|
||||
} from "../Model/model";
|
||||
} from "../../Model/model";
|
||||
|
||||
import { Chat } from "../Model/chatModel";
|
||||
import { translation } from "../translations";
|
||||
import { Chat } from "../../Model/chatModel";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
const chatConverter: React.StateItemConverter<Chat> = (chat) => {
|
||||
function select() {
|
||||
@@ -13,9 +13,9 @@ import {
|
||||
requestMailbox,
|
||||
resetAddressInput,
|
||||
serverAddressInput,
|
||||
} from "../Model/model";
|
||||
} from "../../Model/model";
|
||||
|
||||
import { translation } from "../translations";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
const addressConverter: React.StateItemConverter<string> = (address) => {
|
||||
return <option>{address}</option>;
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import { senderName } from "../Model/model";
|
||||
import { translation } from "../translations";
|
||||
import { senderName } from "../../Model/model";
|
||||
import { translation } from "../../translations";
|
||||
|
||||
export function PersonalSection() {
|
||||
return (
|
||||
Reference in New Issue
Block a user