Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

alerts settings to remix and add to routes

Maksim Mrug6d5c510afcbe
diff --git a/app/routes/projects.$pid.alerts.settings.$id.tsx b/app/routes/projects.$pid.alerts.settings.$id.tsx
new file mode 100644
index 000000000..0e48a19f4
--- /dev/null
+++ b/app/routes/projects.$pid.alerts.settings.$id.tsx
@@ -0,0 +1,15 @@
+import ProjectAlertsSettings from 'pages/Project/Alerts/Settings/ProjectAlertsSettings'
+import type { V2_MetaFunction } from '@remix-run/node'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ {
+ title: 'Project Alerts Settings',
+ description: 'Project Alerts Settings',
+ },
+ ]
+}
+
+export default function Index() {
+ return <ProjectAlertsSettings />
+}
diff --git a/app/routesPath/index.ts b/app/routesPath/index.ts
index 5b572766e..08b334ab3 100644
--- a/app/routesPath/index.ts
+++ b/app/routesPath/index.ts
@@ -25,7 +25,7 @@ const routes = Object.freeze({
changelog: '/changelog', // add
about: '/about', // add
create_alert: '/projects/:pid/alerts/create',
- alert_settings: '/projects/:pid/alerts/settings/:id',
+ alert_settings: '/projects/:pid/alerts/settings/:id', // add
press: '/press', // add
transfer_confirm: '/project/transfer/confirm', // add
transfer_reject: '/project/transfer/cancel', // add