Commit 9d510781 by Arjun Jhukal

minor changes

parent b43c4cf8
...@@ -63,7 +63,7 @@ export default function DashboardLayout({ children }: { children: React.ReactNod ...@@ -63,7 +63,7 @@ export default function DashboardLayout({ children }: { children: React.ReactNod
mb: { xs: '16px', lg: 0 } mb: { xs: '16px', lg: 0 }
}} /> }} />
<div className="content_box px-4 pt-4 pb-12 lg:pl-11 lg:pr-12 lg:pt-8 lg:pb-16"> <div className="content_box px-4 pt-4 pb-12 lg:pl-11 lg:pr-12 lg:pt-8 lg:pb-16">
{!user?.is_acuity_verified ? <ImportantBlock title='Profile Unverified' message='Your profile is not yet verified. Please complete the verification process.' onAction={async () => { {user && user?.role && user?.role?.toLowerCase() === "user" && !user?.is_acuity_verified ? <ImportantBlock title='Profile Unverified' message='Your profile is not yet verified. Please complete the verification process.' onAction={async () => {
try { try {
const response = await verifyAcuity().unwrap(); const response = await verifyAcuity().unwrap();
dispatch(showToast({ message: 'Verification successful.', variant: ToastVariant.SUCCESS })); dispatch(showToast({ message: 'Verification successful.', variant: ToastVariant.SUCCESS }));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment