This commit is contained in:
2025-09-22 12:09:57 +05:30
3 changed files with 354 additions and 344 deletions

View File

@@ -62,7 +62,9 @@ export default function RootLayout({ children }: { children: React.ReactNode })
if (response.ok && Array.isArray(data)) {
if (data.length > 0) {
const name = data[0].custname;
const mobileNumber = data[0].mobileno;
localStorage.setItem("remitter_name", name);
localStorage.setItem("remitter_mobile_no", mobileNumber);
setCustname(name);
}
} else {
@@ -249,7 +251,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<Popover
opened={opened}
onChange={close}
position="bottom-end"
position="bottom-end" // 👈 Logout button ke niche right align
withArrow
shadow="md"
>
@@ -277,11 +279,6 @@ export default function RootLayout({ children }: { children: React.ReactNode })
</Group>
</Popover.Dropdown>
</Popover>
</Group>
</div>