Merge branch 'refactor/typescript' of https://github.com/hdsuperman/rustchat-web into refactor/typescript

This commit is contained in:
Tristan Yang
2022-06-24 10:25:04 +08:00
42 changed files with 722 additions and 384 deletions
+3 -3
View File
@@ -1,7 +1,8 @@
import Overview from "./Overview";
import ManageMembers from "../../common/component/ManageMembers";
const useNavs = (channelId) => {
const navs = [
const useNavs = (channelId: number) => {
return [
{
title: "General",
items: [
@@ -36,7 +37,6 @@ const useNavs = (channelId) => {
// ],
// },
];
return navs;
};
export default useNavs;