Changeset 433e0c5 for components/Header.jsx
- Timestamp:
- 07/15/22 14:45:30 (2 years ago)
- Branches:
- main
- Children:
- 55701f0
- Parents:
- 1df3fde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/Header.jsx
r1df3fde r433e0c5 54 54 } 55 55 56 function complain() { 57 dispatch(setStyle({ 58 ...styleState.style, 59 displayComplainScreen: true, 60 })) 61 } 62 56 63 function showStats() { 57 64 axios.get(`/api/postgre?action=get_stats&session_id=${localStorage.CAESSINO_SESSION_ID}`).then(res => { … … 87 94 ...styleState.style, 88 95 displayManageCreditsScreen: true, 96 displayDepositModal: false, 97 displayWithdrawModal: false, 89 98 })) 90 99 } … … 144 153 <> 145 154 <li onClick={() => {manageCredits()}}>Manage Credits</li> 146 <li onClick={() => {showStats()}}>Stats</li> 155 <li onClick={() => {showStats()}}>Statistics</li> 156 <li onClick={() => {complain()}}>Complain</li> 147 157 <li onClick={() => {logout()}}>Logout</li> 148 158 </>
Note:
See TracChangeset
for help on using the changeset viewer.