AOSSIE-Org / AOSSIE-Org/DebateAI

[BUG]: App fails to build missing SupportOpenSource page and duplicate routes in App.tsx

未关闭
#364 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
84
派生
198
平均合并
2 天 19 小时
30 天内合并 PR
30

描述

## Bug Description

### Bug 1 — Missing SupportOpenSource page (build breaking)
App.tsx imports ./Pages/SupportOpenSource and defines a route for
/support-debateai, but the file does not exist in the codebase.
This causes an immediate Vite build error on startup:

"Failed to resolve import './Pages/SupportOpenSource' from 'src/App.tsx'.
Does the file exist?"

The app cannot load at all until this is resolved.

### Bug 2 — Duplicate routes
The following routes are defined twice in App.tsx:
- /coach
- coach/strengthen-argument

## Steps to Reproduce
1. Clone the repo
2. cd frontend && npm run dev
3. App immediately fails with the import error above

## Expected Behaviour
- App builds and runs without errors
- /support-debateai renders a valid page
- Each route is defined only once

## Files Affected
- frontend/src/App.tsx
- frontend/src/Pages/SupportOpenSource.tsx (missing)

##Screenshots:

Image

### Steps to Reproduce

_No response_

### Logs and Screenshots

_No response_

### Environment Details

_No response_

### Impact

Critical - Application is unusable

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。