mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
refactor: Remove commented out code and unused imports
This commit is contained in:
1 parent
218d433c14
commit
d795dbd788
6 files changed
+3
-25
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user