mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-09 22:00:16 -04:00
copy join link:
This commit is contained in:
parent
938be95243
commit
098f196f56
4
.env
4
.env
|
@ -1,2 +1,2 @@
|
|||
REACT_APP_API_LOCAL=http://localhost:5000/
|
||||
REACT_APP_API_PROD=https://api.wheelshare.app/
|
||||
REACT_APP_API_PROD=http://localhost:5000/
|
||||
REACT_APP_API_LOCAL=https://api.wheelshare.app/
|
||||
|
|
|
@ -65,6 +65,13 @@ export default function GroupInviteCode() {
|
|||
>
|
||||
Regenerate
|
||||
</UIButton>
|
||||
<UIButton onClick={() => {navigator.clipboard.writeText("https://www.wheelshare.app/join/"+group.joinCode)}} style={{
|
||||
backgroundColor: lightgrey,
|
||||
margin: '0.5rem',
|
||||
flex: 1,
|
||||
}}>
|
||||
Copy Link
|
||||
</UIButton>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
|
Loading…
Reference in New Issue
Block a user