Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sweepstake
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arjun Jhukal
sweepstake
Commits
3553c286
Commit
3553c286
authored
Mar 13, 2026
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cahnges
parent
6c2eab24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
14 deletions
+4
-14
page.tsx
...d)/(user)/(outsideAuth)/buy-coins/[slug]/success/page.tsx
+0
-6
index.tsx
src/components/pages/auth/login/index.tsx
+0
-1
CredentialsCard.tsx
...shboard/userDashboard/gameCredentials/CredentialsCard.tsx
+4
-7
No files found.
src/app/(dashboard)/(user)/(outsideAuth)/buy-coins/[slug]/success/page.tsx
View file @
3553c286
"use client"
import
GlassWrapper
from
'@/components/molecules/GlassWrapper'
import
{
useAppSelector
}
from
'@/hooks/hook'
import
Image
from
'next/image'
import
Link
from
'next/link'
import
{
useParams
}
from
'next/navigation'
...
...
@@ -9,11 +8,6 @@ import { useParams } from 'next/navigation'
export
default
function
PaymentSuccess
()
{
const
params
=
useParams
();
const
slug
=
params
?.
slug
as
string
;
const
user
=
useAppSelector
((
state
)
=>
state
.
auth
.
user
);
const
localUser
=
JSON
.
parse
(
localStorage
.
getItem
(
"token"
)
||
""
);
console
.
log
(
"auth data"
,
{
user
,
localUser
:
localUser
,
slug
});
return
(
<
GlassWrapper
className=
"max-w-[520px] mx-auto flex flex-col gap-3 items-center text-center p-6"
>
<
Image
...
...
src/components/pages/auth/login/index.tsx
View file @
3553c286
...
...
@@ -64,7 +64,6 @@ export default function LoginPage() {
dispatch
(
setTokens
({
access_token
:
response
.
data
.
access_token
,
// refreshToken: response.data?.refresh,
user
:
response
.
data
?.
user
,
}),
);
...
...
src/components/pages/dashboard/userDashboard/gameCredentials/CredentialsCard.tsx
View file @
3553c286
...
...
@@ -3,6 +3,7 @@
import
GlassWrapper
from
"@/components/molecules/GlassWrapper"
;
import
{
useAppDispatch
,
useAppSelector
}
from
"@/hooks/hook"
;
import
TapIcon
from
"@/icons/Tap"
;
import
{
useGetUserBalanceBySlugQuery
}
from
"@/services/transaction"
;
import
{
useChangeUserGamePasswordMutation
}
from
"@/services/userApi"
;
import
{
openPasswordDialog
}
from
"@/slice/updatePasswordSlice"
;
import
{
CredentialsProps
}
from
"@/types/game"
;
...
...
@@ -16,7 +17,6 @@ import BalanceRefresh from "./BalanceRefresh";
import
{
CardPasswordField
}
from
"./CardPasswordHandler"
;
import
CopyToClipboard
from
"./CopyToClipboard"
;
import
ResetPasswordDialog
from
"./ResetPasswordDialog"
;
import
{
useGetUserBalanceBySlugQuery
}
from
"@/services/transaction"
;
export
default
function
CredentialsCard
({
cred
}:
{
cred
:
CredentialsProps
})
{
const
{
...
...
@@ -73,12 +73,9 @@ export default function CredentialsCard({ cred }: { cred: CredentialsProps }) {
</
div
>
)
:
(
<
p
className=
"text-[14px] my-[6px] uppercase"
>
<
p
className=
"text-[14px] my-[6px] uppercase"
>
{
providerBalance
?
`${providerBalance.flag.toUpperCase()}: ${providerBalance?.balance}`
:
"Balance: 0"
}
</
p
>
{
providerBalance
?
`${providerBalance.flag.toUpperCase()}: ${providerBalance?.balance}`
:
"Balance: 0"
}
</
p
>
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment