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