refactor: migrate route definitions to path builders

This commit is contained in:
ramvignesh-b
2026-04-13 01:05:03 +05:30
parent ad8a73bb47
commit 2405f9cab2
5 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ export default function App() {
}
/>
<Route
path={`${ROUTES.WRITE()}:public_id?`}
path={ROUTES.WRITE}
element={
<ProtectedRoute>
<Editor />