Import adminApi in data.js to avoid undefined toast
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { api } from "./api.js";
|
||||
import { api, adminApi } from "./api.js";
|
||||
import { handleAuthError, renderAllSuggestions, renderCounts, renderMySuggestions, renderPhasePill, renderPhaseTitles, renderResults, renderVotes, renderWelcome, setAuthUI, syncVoteScores } from "./ui.js";
|
||||
import { state, clearUserState } from "./state.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user