MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / signOutClicked

Function signOutClicked

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

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

enqueueSnackbarFunction · 0.90
closeSnackbarFunction · 0.90
getTimeMethod · 0.45

Tested by

no test coverage detected