Phase 3 Complete by Claude Code
This commit is contained in:
@@ -6,6 +6,9 @@ import MelodyList from "./melodies/MelodyList";
|
||||
import MelodyDetail from "./melodies/MelodyDetail";
|
||||
import MelodyForm from "./melodies/MelodyForm";
|
||||
import MelodySettings from "./melodies/MelodySettings";
|
||||
import DeviceList from "./devices/DeviceList";
|
||||
import DeviceDetail from "./devices/DeviceDetail";
|
||||
import DeviceForm from "./devices/DeviceForm";
|
||||
|
||||
function ProtectedRoute({ children }) {
|
||||
const { user, loading } = useAuth();
|
||||
@@ -55,8 +58,11 @@ export default function App() {
|
||||
<Route path="melodies/new" element={<MelodyForm />} />
|
||||
<Route path="melodies/:id" element={<MelodyDetail />} />
|
||||
<Route path="melodies/:id/edit" element={<MelodyForm />} />
|
||||
{/* Phase 3+ routes:
|
||||
<Route path="devices" element={<DeviceList />} />
|
||||
<Route path="devices/new" element={<DeviceForm />} />
|
||||
<Route path="devices/:id" element={<DeviceDetail />} />
|
||||
<Route path="devices/:id/edit" element={<DeviceForm />} />
|
||||
{/* Phase 4+ routes:
|
||||
<Route path="users" element={<UserList />} />
|
||||
<Route path="mqtt" element={<MqttDashboard />} />
|
||||
*/}
|
||||
|
||||
Reference in New Issue
Block a user