Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit caad185

Browse files
author
dengjun
committed
fix: display-direction
1 parent 8e82bb2 commit caad185

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/containers/MyGigs/index.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,22 @@ const MyGigs = ({
7979
<span styleName="text">MY GIGS</span>
8080
<div styleName="operation">
8181
<Button
82+
isPrimary
8283
size="lg"
84+
disabled={!(profile && profile.hasProfile)}
8385
onClick={() => {
84-
window.location.href = `${process.env.URL.BASE}/gigs`;
86+
setOpenUpdateProfile(true);
8587
}}
8688
>
87-
VIEW GIGS
89+
UPDATE GIG WORK PROFILE
8890
</Button>
8991
<Button
90-
isPrimary
9192
size="lg"
92-
disabled={!(profile && profile.hasProfile)}
9393
onClick={() => {
94-
setOpenUpdateProfile(true);
94+
window.location.href = `${process.env.URL.BASE}/gigs`;
9595
}}
9696
>
97-
UPDATE GIG WORK PROFILE
97+
VIEW GIGS
9898
</Button>
9999
</div>
100100
</h1>

src/containers/MyGigs/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
width: 375px;
2222
display: flex;
2323
justify-content: space-between;
24+
flex-direction: row-reverse;
2425
}
2526
}
2627

0 commit comments

Comments
 (0)