copy join link:

This commit is contained in:
HyperionLegion 2021-08-11 21:09:08 -04:00
parent 938be95243
commit 098f196f56
2 changed files with 9 additions and 2 deletions

4
.env
View File

@ -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/

View File

@ -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>
)}
</>