Finished implementing a Solutions version for each exercise

This commit is contained in:
Tiago Ribeiro
2023-04-11 21:35:44 +01:00
parent 45a5cb0f5c
commit 49c515b02a
20 changed files with 610 additions and 333 deletions

View File

@@ -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;