chore: more tailwind

This commit is contained in:
Tristan Yang
2023-02-03 11:50:50 +08:00
parent 4a8822cf87
commit b4c5d5cb86
11 changed files with 51 additions and 256 deletions
+1 -4
View File
@@ -123,8 +123,5 @@ export const KEY_AFTER_MID = "VOCECHAT_AFTER_MID";
export const KEY_PWA_INSTALLED = "VOCECHAT_PWA_INSTALLED";
export const KEY_LOCAL_MAGIC_TOKEN = "VOCECHAT_LOCAL_MAGIC_TOKEN";
export const Emojis = ["👍", "❤️", "😄", "👀", "👎", "🎉", "🙁", "🚀"];
export const Views = {
item: "item",
grid: "grid"
};
export default BASE_URL;
+3 -3
View File
@@ -1,13 +1,13 @@
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
import { Views } from "../config";
export type ListView = "item" | "grid"
export interface State {
online: boolean;
ready: boolean;
inputMode: "text";
menuExpand: boolean;
// todo
fileListView: string;
fileListView: ListView;
uploadFiles: {
[key: string]: {
name: string;
@@ -30,7 +30,7 @@ const initialState: State = {
ready: false,
inputMode: "text",
menuExpand: false,
fileListView: Views.grid,
fileListView: "grid",
uploadFiles: {},
selectMessages: {},
draftMarkdown: {},