refactor: Remove commented out code and unused imports

This commit is contained in:
wancat committed 2024-06-28 16:14:26 +08:00
1 parent 218d433c14
commit d795dbd788
6 files changed
+3 -25

No files matched your search

-17
View File
@@ -93,21 +93,4 @@ export function useTerminal() {
return term
}
// export async function init(questId: string) {
// if (!questId) throw new Error('No quest ID provided')
// reset()
// try {
// await setQuest(questId)
// } catch (err) {
// console.error(err)
// throw new LoadQuestError('Failed to load quest', questId)
// }
// try {
// await getActiveSession(questId)
// } catch (err) {
// console.error(err)
// throw new LoadSessionError('Failed to load session', questId)
// }
// }
export default useSession