import React from "react"; import { BrowserRouter, Route, Routes } from "react-router-dom"; import App from "./App"; import { Login, SignUp } from "./auth"; import { RequireAuth } from "./auth/RequireAuth"; import { SurveyForm } from "./commons"; import { Home } from "./home"; import { Profile } from "./profile"; import { EditResultButton } from "./survey"; import { EditSurvey } from "./survey/EditSurvey"; import { ResultSurvey } from "./survey/ResultSurvey"; export const SurveyRouter = () => { return ( }> } /> } /> } /> }> } /> } /> } /> } /> ); };