Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Neos
Commits
95c51283
Commit
95c51283
authored
Aug 16, 2023
by
timel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fmt
parent
e001cd31
Pipeline
#23149
failed with stages
in 52 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/ui/Duel/PlayMat/Card/index.tsx
src/ui/Duel/PlayMat/Card/index.tsx
+1
-1
src/ui/Shared/YgoCard/index.tsx
src/ui/Shared/YgoCard/index.tsx
+2
-2
No files found.
src/ui/Duel/PlayMat/Card/index.tsx
View file @
95c51283
...
@@ -313,7 +313,7 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => {
...
@@ -313,7 +313,7 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => {
>
>
<
YgoCard
<
YgoCard
className=
{
styles
.
cover
}
className=
{
styles
.
cover
}
cardName=
{
snap
.
meta
.
text
.
name
}
//
cardName={snap.meta.text.name}
code=
{
snap
.
code
===
0
?
snap
.
meta
.
id
:
snap
.
code
}
code=
{
snap
.
code
===
0
?
snap
.
meta
.
id
:
snap
.
code
}
/>
/>
<
YgoCard
className=
{
styles
.
back
}
isBack
/>
<
YgoCard
className=
{
styles
.
back
}
isBack
/>
...
...
src/ui/Shared/YgoCard/index.tsx
View file @
95c51283
...
@@ -9,7 +9,7 @@ interface Props {
...
@@ -9,7 +9,7 @@ interface Props {
className
?:
string
;
className
?:
string
;
isBack
?:
boolean
;
isBack
?:
boolean
;
code
?:
number
;
code
?:
number
;
cardName
?:
string
;
//
cardName?: string;
style
?:
CSSProperties
;
style
?:
CSSProperties
;
width
?:
number
;
width
?:
number
;
onClick
?:
()
=>
void
;
onClick
?:
()
=>
void
;
...
@@ -20,7 +20,7 @@ export const YgoCard: React.FC<Props> = (props) => {
...
@@ -20,7 +20,7 @@ export const YgoCard: React.FC<Props> = (props) => {
const
{
const
{
className
,
className
,
code
=
0
,
code
=
0
,
cardName
,
//
cardName,
isBack
=
false
,
isBack
=
false
,
width
,
width
,
style
,
style
,
...
...
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