-
Notifications
You must be signed in to change notification settings - Fork 2
Ct/import v2 #1908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ct/import v2 #1908
Changes from all commits
7704f9f
590e0d9
932c5eb
0196ef3
236847c
3a3e795
1552e26
5f8c8a2
0bdeb24
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import ImportDetailView from 'apps/rahat-ui/src/sections/import-beneficiary/importDetailView'; | ||
|
|
||
| export default function Page() { | ||
| return <ImportDetailView />; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| 'use client'; | ||
|
|
||
| import * as React from 'react'; | ||
| import DashboardLayout from '../dashboard/layout'; | ||
|
|
||
| export default function Layout({ children }: { children: React.ReactNode }) { | ||
| return ( | ||
| <DashboardLayout> | ||
| <title>Import Beneficiary</title> | ||
| {children} | ||
| </DashboardLayout> | ||
| ); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import ImportListView from '../../sections/import-beneficiary/importListView'; | ||
|
|
||
| export default function Page() { | ||
| return <ImportListView />; | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -223,12 +223,12 @@ function BeneficiaryView() { | |||||
| </DropdownMenuTrigger> | ||||||
| <DropdownMenuContent className="min-w-(--radix-dropdown-menu-trigger-width)"> | ||||||
| <DropdownMenuItem | ||||||
| onClick={() => router.push('/community-beneficiary')} | ||||||
| onClick={() => router.push('/import-beneficiary')} | ||||||
| > | ||||||
| Import from Community Tool | ||||||
| </DropdownMenuItem> | ||||||
| <DropdownMenuItem | ||||||
| onClick={() => router.push('/beneficiary/import')} | ||||||
| onClick={() => router.push('/beneficiary-import')} | ||||||
|
||||||
| onClick={() => router.push('/beneficiary-import')} | |
| onClick={() => router.push('/beneficiary/import')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover
console.log(extras)in the submit handler will leak potentially sensitive form context to the browser console and adds noise in production. Please remove it (or gate behind an explicit dev-only debug flag).