Finished implementing a Solutions version for each exercise
This commit is contained in:
@@ -1,19 +1,6 @@
|
||||
import {Module} from "@/interfaces";
|
||||
import {create} from "zustand";
|
||||
|
||||
const useExamStore = create((set) => ({
|
||||
reading: undefined,
|
||||
listening: undefined,
|
||||
speaking: undefined,
|
||||
writing: undefined,
|
||||
updateModule: (module: Module, id: string) => set(() => ({[module]: id})),
|
||||
clearExam: () =>
|
||||
set(() => ({
|
||||
reading: undefined,
|
||||
listening: undefined,
|
||||
speaking: undefined,
|
||||
writing: undefined,
|
||||
})),
|
||||
}));
|
||||
const useExamStore = create((set) => ({}));
|
||||
|
||||
export default useExamStore;
|
||||
|
||||
Reference in New Issue
Block a user