Commit 56221569 by Arjun Jhukal

updated the minor changes

parent 522a1c8f
...@@ -15,7 +15,6 @@ function LayoutContent({ children }: { children: React.ReactNode }) { ...@@ -15,7 +15,6 @@ function LayoutContent({ children }: { children: React.ReactNode }) {
localStorage.setItem("visitor_id", visitorId); localStorage.setItem("visitor_id", visitorId);
} }
}, [visitorId]); }, [visitorId]);
return ( return (
<DashboardLayout> <DashboardLayout>
{children} {children}
......
...@@ -67,7 +67,7 @@ export default function BuyCoinGameListPage({ ...@@ -67,7 +67,7 @@ export default function BuyCoinGameListPage({
if (info?.has_changed_password) { if (info?.has_changed_password) {
e.preventDefault(); e.preventDefault();
dispatch(openPasswordDialog({ dispatch(openPasswordDialog({
provider: game?.name, provider: game?.provider,
})); }));
} }
}} }}
......
...@@ -38,6 +38,7 @@ export default function ResetPasswordDialog({ ...@@ -38,6 +38,7 @@ export default function ResetPasswordDialog({
onClose: () => void; onClose: () => void;
name: string; name: string;
}) { }) {
console.log("ResetPasswordDialog name:", name);
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();
const [resetGamePassord, { isLoading }] = useChangeUserGamePasswordMutation(); const [resetGamePassord, { isLoading }] = useChangeUserGamePasswordMutation();
......
...@@ -260,7 +260,7 @@ export default function WithdrawlPage({ ...@@ -260,7 +260,7 @@ export default function WithdrawlPage({
onClick={() => { onClick={() => {
if (info?.has_changed_password) { if (info?.has_changed_password) {
dispatch(openPasswordDialog({ dispatch(openPasswordDialog({
provider: game?.name, provider: game?.provider,
})); }));
} }
else { else {
......
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