perf: remove useless code

This commit is contained in:
JOYCEQL
2024-12-05 23:30:23 +08:00
committed by qingchen
parent 580af9d51d
commit b5a47888b9
2 changed files with 0 additions and 66 deletions
@@ -1,35 +0,0 @@
import { create } from "zustand";
interface BaseInfoState {
resumeTitle: string;
name: string;
setName: (name: string) => void;
phone: string;
setPhone: (phone: string) => void;
wechat: string;
setWechat: (wechat: string) => void;
email: string;
setEmail: (email: string) => void;
birthday: Date | undefined;
setBirthday: (birthday: Date | undefined) => void;
jobName: string;
setJobName: (jobName: string) => void;
}
const useBaseInfoStore = create<BaseInfoState>((set) => ({
resumeTitle: "前端",
name: "牛马人",
setName: (name: string) => set({ name }),
phone: "1234567",
setPhone: (phone: string) => set({ phone }),
wechat: "niuma",
setWechat: (wechat: string) => set({ wechat }),
email: "mofang@gmail.com",
setEmail: (email: string) => set({ email }),
birthday: new Date(2024, 5, 20),
setBirthday: (birthday: Date | undefined) => set({ birthday }),
jobName: "前端工程师/5年经验",
setJobName: (jobName: string) => set({ jobName })
}));
export default useBaseInfoStore;
-31
View File
@@ -1,31 +0,0 @@
import { create } from "zustand";
interface ModelStore {
skillContent: string;
setSkillContent: (skillContent: string) => void;
projectContent: string;
setProjectContent: (projectContent: string) => void;
workContent: string;
setWorkContent: (workContent: string) => void;
}
const useModelStore = create<ModelStore>((set) => ({
skillContent: "前端",
setSkillContent: (skillContent: string) => set({ skillContent }),
projectList: [
{
name: "项目1",
content: "项目1内容"
},
{
name: "项目2",
content: "项目2内容"
}
],
projectContent: "项目经历",
setProjectContent: (projectContent: string) => set({ projectContent }),
workContent: "工作经历",
setWorkContent: (workContent: string) => set({ workContent })
}));
export default useModelStore;