MCPcopy
hub / github.com/FlowiseAI/Flowise / signOutClicked

Function signOutClicked

packages/ui/src/layout/MainLayout/Header/index.jsx:171–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

enqueueSnackbarFunction · 0.90
closeSnackbarFunction · 0.90
getTimeMethod · 0.45

Tested by

no test coverage detected