()
| 164 | } |
| 165 | |
| 166 | const signOutClicked = () => { |
| 167 | logoutApi.request() |
| 168 | enqueueSnackbar({ |
| 169 | message: 'Logging out...', |
| 170 | options: { |
| 171 | key: new Date().getTime() + Math.random(), |
| 172 | variant: 'success', |
| 173 | action: (key) => ( |
| 174 | <Button style={{ color: 'white' }} onClick={() => closeSnackbar(key)}> |
| 175 | <IconX /> |
| 176 | </Button> |
| 177 | ) |
| 178 | } |
| 179 | }) |
| 180 | } |
| 181 | |
| 182 | useEffect(() => { |
| 183 | try { |
nothing calls this directly
no test coverage detected