feat : update rights from admin user.
This commit is contained in:
@@ -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" // 👈 Logout button ke niche right align
|
||||
position="bottom-end"
|
||||
withArrow
|
||||
shadow="md"
|
||||
>
|
||||
@@ -277,11 +279,6 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
</Group>
|
||||
</Popover.Dropdown>
|
||||
</Popover>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Group>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user