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
2804ed70
Commit
2804ed70
authored
Sep 25, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the minor change
parent
3d4d687b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
+9
-5
SelectField.tsx
src/components/atom/SelectField.tsx
+0
-0
index.tsx
...ts/pages/dashboard/userDashboard/depositHistory/index.tsx
+1
-1
UserCoin.tsx
...ard/games/exclusiveGames/exclusiveGameDetail/UserCoin.tsx
+2
-1
index.tsx
.../pages/dashboard/userDashboard/withdrawlHistory/index.tsx
+1
-1
gameApi.ts
src/services/gameApi.ts
+5
-2
No files found.
src/components/atom/SelectField.tsx
View file @
2804ed70
src/components/pages/dashboard/userDashboard/depositHistory/index.tsx
View file @
2804ed70
...
@@ -75,7 +75,7 @@ export default function DepositHistoryPage() {
...
@@ -75,7 +75,7 @@ export default function DepositHistoryPage() {
<
select
<
select
value=
{
pageSize
}
value=
{
pageSize
}
onChange=
{
(
e
)
=>
setPageSize
(
Number
(
e
.
target
.
value
))
}
onChange=
{
(
e
)
=>
setPageSize
(
Number
(
e
.
target
.
value
))
}
className=
"ml-2 border border-gray-300 rounded p-1"
className=
"ml-2 border b
g-[#11011E] b
order-gray-300 rounded p-1"
>
>
{
[
5
,
10
,
15
,
20
].
map
((
size
)
=>
(
{
[
5
,
10
,
15
,
20
].
map
((
size
)
=>
(
<
option
key=
{
size
}
value=
{
size
}
>
<
option
key=
{
size
}
value=
{
size
}
>
...
...
src/components/pages/dashboard/userDashboard/games/exclusiveGames/exclusiveGameDetail/UserCoin.tsx
View file @
2804ed70
...
@@ -7,6 +7,7 @@ import React from 'react'
...
@@ -7,6 +7,7 @@ import React from 'react'
export
default
function
UserCoin
({
slug
}:
{
slug
:
string
})
{
export
default
function
UserCoin
({
slug
}:
{
slug
:
string
})
{
const
{
data
}
=
useGetUserBalanceBySlugQuery
({
slug
});
const
{
data
}
=
useGetUserBalanceBySlugQuery
({
slug
});
console
.
log
(
data
);
return
(
return
(
<
Box
sx=
{
{
<
Box
sx=
{
{
background
:
"linear-gradient(0deg, rgba(234, 47, 231, 0.10) 0%, rgba(234, 47, 231, 0.10) 100%)"
,
background
:
"linear-gradient(0deg, rgba(234, 47, 231, 0.10) 0%, rgba(234, 47, 231, 0.10) 100%)"
,
...
@@ -14,7 +15,7 @@ export default function UserCoin({ slug }: { slug: string }) {
...
@@ -14,7 +15,7 @@ export default function UserCoin({ slug }: { slug: string }) {
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 min-w-[30%] "
>
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 min-w-[30%] "
>
<
SilverCoinIcon
/>
<
SilverCoinIcon
/>
<
div
className=
"coins"
>
<
div
className=
"coins"
>
<
strong
className=
"text-[16px] leading-4 font-[600] block mb-1"
>
{
data
?.
balance
||
0
}
</
strong
>
<
strong
className=
"text-[16px] leading-4 font-[600] block mb-1"
>
{
data
?.
balance
||
0
}
</
strong
>
<
span
className=
"text-[12px] block"
>
Current Sweep Coins
</
span
>
<
span
className=
"text-[12px] block"
>
Current Sweep Coins
</
span
>
</
div
>
</
div
>
</
Box
>
</
Box
>
...
...
src/components/pages/dashboard/userDashboard/withdrawlHistory/index.tsx
View file @
2804ed70
...
@@ -73,7 +73,7 @@ export default function WithdrawnHistoryPage() {
...
@@ -73,7 +73,7 @@ export default function WithdrawnHistoryPage() {
<
select
<
select
value=
{
pageSize
}
value=
{
pageSize
}
onChange=
{
(
e
)
=>
setPageSize
(
Number
(
e
.
target
.
value
))
}
onChange=
{
(
e
)
=>
setPageSize
(
Number
(
e
.
target
.
value
))
}
className=
"ml-2 border border-gray-300 rounded p-1"
className=
"ml-2 border border-gray-300 rounded p-1
bg-[#11011E]
"
>
>
{
[
5
,
10
,
15
,
20
].
map
((
size
)
=>
(
{
[
5
,
10
,
15
,
20
].
map
((
size
)
=>
(
<
option
key=
{
size
}
value=
{
size
}
>
<
option
key=
{
size
}
value=
{
size
}
>
...
...
src/services/gameApi.ts
View file @
2804ed70
...
@@ -28,19 +28,22 @@ export const gameApi = createApi({
...
@@ -28,19 +28,22 @@ export const gameApi = createApi({
url
:
`/api/admin/game/
${
id
}
`
,
url
:
`/api/admin/game/
${
id
}
`
,
method
:
'GET'
,
method
:
'GET'
,
}),
}),
providesTags
:
[
'games'
]
}),
}),
updateGameById
:
builder
.
mutation
<
SingleGameResponse
,
{
id
:
string
|
number
,
body
:
FormData
}
>
({
updateGameById
:
builder
.
mutation
<
SingleGameResponse
,
{
id
:
string
|
number
,
body
:
FormData
}
>
({
query
:
({
id
,
body
})
=>
({
query
:
({
id
,
body
})
=>
({
url
:
`/api/admin/game/
${
id
}
`
,
url
:
`/api/admin/game/
${
id
}
`
,
method
:
"POST"
,
method
:
"POST"
,
body
:
body
body
:
body
})
}),
invalidatesTags
:
[
"games"
]
}),
}),
deleteGameById
:
builder
.
mutation
<
GlobalResponse
,
{
id
:
string
|
number
}
>
({
deleteGameById
:
builder
.
mutation
<
GlobalResponse
,
{
id
:
string
|
number
}
>
({
query
:
({
id
})
=>
({
query
:
({
id
})
=>
({
url
:
`/api/admin/game/
${
id
}
`
,
url
:
`/api/admin/game/
${
id
}
`
,
method
:
"DELETE"
method
:
"DELETE"
})
}),
invalidatesTags
:
[
"games"
]
})
})
})
})
})
})
...
...
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