修正邀請碼問題
This commit is contained in:
@@ -2336,7 +2336,8 @@ export function CompetitionManagement() {
|
||||
})
|
||||
}
|
||||
|
||||
const judgeScoringUrl = typeof window !== "undefined" ? `${window.location.origin}/judge-scoring` : "/judge-scoring"
|
||||
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || (typeof window !== "undefined" ? window.location.origin : 'http://localhost:3000')
|
||||
const judgeScoringUrl = `${baseUrl}/judge-scoring`
|
||||
|
||||
// Filter out proposal competitions from display
|
||||
const displayCompetitions = competitions.filter((competition) => competition.type !== "proposal")
|
||||
|
Reference in New Issue
Block a user