fix: resolve all TypeScript build errors

- Remove unused imports (LoginModal, Zap) and variables
- Fix Language type mismatches across components
- Update HeaderBar interface to use Language type
- Remove unused onLoginClick parameter
- Fix duplicate translation keys by renaming auth steps
- Remove invalid language prop from CommunitySection

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: tinkle-community <tinklefund@gmail.com>
This commit is contained in:
icy
2025-11-02 06:39:23 +08:00
parent 4efa6cc148
commit ef197a3f93
5 changed files with 21 additions and 24 deletions

View File

@@ -57,7 +57,7 @@ export function LoginPage() {
isHomePage={false}
currentPage="login"
language={language}
onLanguageChange={(lang) => {}}
onLanguageChange={() => {}}
onPageChange={(page) => {
console.log('LoginPage onPageChange called with:', page);
if (page === 'competition') {