+
{tabs.map((tab) =>
tab.type === page1 && (
{/* Responsive Layout */}
-
+
{/* Sidebar (hidden on small, shown on lg) */}
{activeTab === 'userProfile' && (
@@ -455,8 +455,8 @@ const Setting = () => {
{/* Sidebar as horizontal nav (only on mobile) */}
{activeTab === 'userProfile' && (
-
-
+
+
{getSubSections(activeTab).map((sub) => (
@@ -253,10 +254,11 @@ const DrawSignatureCanvas: React.FC = ({ onSignatureChange, initialSignat
diff --git a/src/components/setting/UserProfile.tsx b/src/components/setting/UserProfile.tsx
index 1b8e654..cbbe56a 100644
--- a/src/components/setting/UserProfile.tsx
+++ b/src/components/setting/UserProfile.tsx
@@ -20,7 +20,7 @@ interface UserProfileProps {
const UserProfile: React.FC
= ({ userData }) => {
return (
-