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
5c0014a6
Commit
5c0014a6
authored
Sep 24, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleared the logs
parent
5e1c649f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2 additions
and
13 deletions
+2
-13
UserCoinCard.tsx
src/components/organism/Header/UserHeader/UserCoinCard.tsx
+0
-1
index.tsx
...ages/dashboard/adminDashboard/games/AddGameForm/index.tsx
+0
-1
index.tsx
...s/pages/dashboard/adminDashboard/pages/add-page/index.tsx
+1
-6
index.tsx
.../dashboard/adminDashboard/players/addPlayerForm/index.tsx
+0
-1
SiteSetting.tsx
...s/pages/dashboard/adminDashboard/settings/SiteSetting.tsx
+0
-1
index.tsx
...board/userDashboard/account/profile/editProfile/index.tsx
+0
-1
index.tsx
...es/dashboard/userDashboard/games/exclusiveGames/index.tsx
+1
-1
index.tsx
...ponents/pages/dashboard/userDashboard/withdrawl/index.tsx
+0
-1
No files found.
src/components/organism/Header/UserHeader/UserCoinCard.tsx
View file @
5c0014a6
...
@@ -6,7 +6,6 @@ import React from 'react'
...
@@ -6,7 +6,6 @@ import React from 'react'
export
default
function
UserCoinCard
()
{
export
default
function
UserCoinCard
()
{
const
{
data
,
isLoading
}
=
useGetUserBalanceQuery
();
const
{
data
,
isLoading
}
=
useGetUserBalanceQuery
();
console
.
log
(
data
);
return
(
return
(
<>
<>
<
Box
sx=
{
{
<
Box
sx=
{
{
...
...
src/components/pages/dashboard/adminDashboard/games/AddGameForm/index.tsx
View file @
5c0014a6
...
@@ -131,7 +131,6 @@ export default function AddGameForm({ id }: AddGameFormProps) {
...
@@ -131,7 +131,6 @@ export default function AddGameForm({ id }: AddGameFormProps) {
router
.
push
(
PATH
.
ADMIN
.
GAMES
.
ROOT
)
router
.
push
(
PATH
.
ADMIN
.
GAMES
.
ROOT
)
}
}
catch
(
e
:
any
)
{
catch
(
e
:
any
)
{
console
.
log
(
e
);
dispatch
(
dispatch
(
showToast
({
showToast
({
message
:
e
.
message
,
message
:
e
.
message
,
...
...
src/components/pages/dashboard/adminDashboard/pages/add-page/index.tsx
View file @
5c0014a6
...
@@ -38,7 +38,6 @@ export default function AddPageForm() {
...
@@ -38,7 +38,6 @@ export default function AddPageForm() {
),
),
}),
}),
onSubmit
:
async
(
values
)
=>
{
onSubmit
:
async
(
values
)
=>
{
console
.
log
(
"Submitting form with values:"
,
values
);
// <---- Add this
if
(
!
values
.
content
)
{
if
(
!
values
.
content
)
{
console
.
error
(
"❌ content is undefined in form values"
);
console
.
error
(
"❌ content is undefined in form values"
);
...
@@ -55,14 +54,10 @@ export default function AddPageForm() {
...
@@ -55,14 +54,10 @@ export default function AddPageForm() {
formData
.
append
(
`content[
${
index
}
][description]`
,
item
.
description
);
formData
.
append
(
`content[
${
index
}
][description]`
,
item
.
description
);
});
});
console
.
log
(
"FormData entries:"
);
for
(
const
[
key
,
val
]
of
formData
.
entries
())
{
console
.
log
(
key
,
val
);
}
try
{
try
{
const
response
=
await
createPage
(
formData
).
unwrap
();
const
response
=
await
createPage
(
formData
).
unwrap
();
console
.
log
(
"API response:"
,
response
);
dispatch
(
dispatch
(
showToast
({
showToast
({
message
:
response
.
message
||
"Page created successfully"
,
message
:
response
.
message
||
"Page created successfully"
,
...
...
src/components/pages/dashboard/adminDashboard/players/addPlayerForm/index.tsx
View file @
5c0014a6
...
@@ -123,7 +123,6 @@ export default function AddPlayerPage({ id }: { id?: string }) {
...
@@ -123,7 +123,6 @@ export default function AddPlayerPage({ id }: { id?: string }) {
router
.
push
(
"/players"
);
router
.
push
(
"/players"
);
}
}
catch
(
e
:
any
)
{
catch
(
e
:
any
)
{
console
.
log
(
e
);
dispatch
(
dispatch
(
showToast
({
showToast
({
message
:
e
.
data
.
message
,
message
:
e
.
data
.
message
,
...
...
src/components/pages/dashboard/adminDashboard/settings/SiteSetting.tsx
View file @
5c0014a6
...
@@ -90,7 +90,6 @@ export default function SiteSetting() {
...
@@ -90,7 +90,6 @@ export default function SiteSetting() {
},
},
});
});
console
.
log
(
formik
.
values
,
data
?.
data
.
site_name
);
const
handleAddUSP
=
()
=>
{
const
handleAddUSP
=
()
=>
{
formik
.
setFieldValue
(
"unique_selling_points"
,
[
formik
.
setFieldValue
(
"unique_selling_points"
,
[
...
...
src/components/pages/dashboard/userDashboard/account/profile/editProfile/index.tsx
View file @
5c0014a6
...
@@ -18,7 +18,6 @@ export default function EditUserProfile({ id }: { id: string }) {
...
@@ -18,7 +18,6 @@ export default function EditUserProfile({ id }: { id: string }) {
const
user
=
useAppSelector
((
state
)
=>
state
.
auth
.
user
);
const
user
=
useAppSelector
((
state
)
=>
state
.
auth
.
user
);
const
access_token
=
useAppSelector
((
state
)
=>
state
.
auth
.
access_token
);
const
access_token
=
useAppSelector
((
state
)
=>
state
.
auth
.
access_token
);
console
.
log
(
access_token
);
const
formik
=
useFormik
({
const
formik
=
useFormik
({
...
...
src/components/pages/dashboard/userDashboard/games/exclusiveGames/index.tsx
View file @
5c0014a6
...
@@ -12,7 +12,7 @@ export default async function ExclusiveGamePage() {
...
@@ -12,7 +12,7 @@ export default async function ExclusiveGamePage() {
try
{
try
{
games
=
await
getAllGames
();
games
=
await
getAllGames
();
}
catch
(
err
)
{
}
catch
(
err
)
{
console
.
error
(
"❌ Failed to fetch games:"
,
err
);
console
.
log
(
"❌ Failed to fetch games:"
,
err
);
return
<
p
className=
"text-red-500"
>
Failed to load games.
</
p
>;
return
<
p
className=
"text-red-500"
>
Failed to load games.
</
p
>;
}
}
...
...
src/components/pages/dashboard/userDashboard/withdrawl/index.tsx
View file @
5c0014a6
...
@@ -27,7 +27,6 @@ export default function WithdrawlPage({
...
@@ -27,7 +27,6 @@ export default function WithdrawlPage({
})
{
})
{
const
[
open
,
setOpen
]
=
React
.
useState
(
false
);
const
[
open
,
setOpen
]
=
React
.
useState
(
false
);
const
user
=
useAppSelector
(
state
=>
state
.
auth
.
user
);
const
user
=
useAppSelector
(
state
=>
state
.
auth
.
user
);
console
.
log
(
"wallet"
,
user
?.
wallet_address
)
const
gameInfo
=
coins
?.
data
?.
game_information
||
{};
const
gameInfo
=
coins
?.
data
?.
game_information
||
{};
const
dispatch
=
useAppDispatch
();
const
dispatch
=
useAppDispatch
();
...
...
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