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!

confirm report share to remix and add routing

Maksim Mrug9a4b4fe3d532
diff --git a/app/routes/projects.$id.subscribers.invite.tsx b/app/routes/projects.$id.subscribers.invite.tsx
new file mode 100644
index 000000000..6e768c4be
--- /dev/null
+++ b/app/routes/projects.$id.subscribers.invite.tsx
@@ -0,0 +1,15 @@
+import ConfirmReportsShare from 'pages/Project/Settings/Emails/ConfirmReportsShare'
+import type { V2_MetaFunction } from '@remix-run/node'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ {
+ title: 'Confirm Reports Share',
+ description: 'Confirm Reports Share',
+ },
+ ]
+}
+
+export default function Index() {
+ return <ConfirmReportsShare />
+}
diff --git a/app/routesPath/index.ts b/app/routesPath/index.ts
index fb61637ea..4fc2b684c 100644
--- a/app/routesPath/index.ts
+++ b/app/routesPath/index.ts
@@ -4,7 +4,7 @@ const routes = Object.freeze({
reset_password: '/recovery', // add
new_password_form: '/password-reset/:id', // add
confirm_share: '/share/:id', // add
- confirm_subcription: '/projects/:id/subscribers/invite',
+ confirm_subcription: '/projects/:id/subscribers/invite', // add
main: '/', // add
dashboard: '/dashboard', // add
user_settings: '/user-settings', // add