PageSourceSearch

https://sixsigmafunnels.com/src/app/modules/auth/Logout.tsx

js sixsigmafunnels.com collected 2026-10-02 01:44:15 UTC 3,765 bytes, 59 lines download raw bytes

1import { createHotContext as __vite__createHotContext } from "/@vite/client";import.meta.hot = __vite__createHotContext("/src/app/modules/auth/Logout.tsx");if (!window.$RefreshReg$) throw new Error("React refresh preamble was not loaded. Something is wrong.");
2const prevRefreshReg = window.$RefreshReg$;
3const prevRefreshSig = window.$RefreshSig$;
4window.$RefreshReg$ = RefreshRuntime.getRefreshReg("/data/sixsigma/six-sigma-ui/src/app/modules/auth/Logout.tsx");
5window.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform;
6
7import * as RefreshRuntime from "/@react-refresh";
8
9import __vite__cjsImport1_react_jsxDevRuntime from "/node_modules/.vite/deps/react_jsx-dev-runtime.js?v=e8ce80ae"; const _jsxDEV = __vite__cjsImport1_react_jsxDevRuntime["jsxDEV"];
10var _s = $RefreshSig$();
11import __vite__cjsImport2_react from "/node_modules/.vite/deps/react.js?v=e8ce80ae"; const useEffect = __vite__cjsImport2_react["useEffect"];
12import { Navigate, Routes } from "/node_modules/.vite/deps/react-router-dom.js?v=e8ce80ae";
13import { useAuth } from "/src/app/modules/auth/core/Auth.tsx";
14export function Logout() {
15    _s();
16    const { logout } = useAuth();
17    useEffect(()=>{
18        logout();
19        document.location.reload();
20    }, [
21        logout
22    ]);
23    return /*#__PURE__*/ _jsxDEV(Routes, {
24        children: /*#__PURE__*/ _jsxDEV(Navigate, {
25            to: "/auth/login"
26        }, void 0, false, {
27            fileName: "/data/sixsigma/six-sigma-ui/src/app/modules/auth/Logout.tsx",
28            lineNumber: 14,
29            columnNumber: 7
30        }, this)
31    }, void 0, false, {
32        fileName: "/data/sixsigma/six-sigma-ui/src/app/modules/auth/Logout.tsx",
33        lineNumber: 13,
34        columnNumber: 5
35    }, this);
36}
37_s(Logout, "sX+JVTX5usyYn6uIw2ZArRx1NRk=", false, function() {
38    return [
39        useAuth
40    ];
41});
42_c = Logout;
43var _c;
44$RefreshReg$(_c, "Logout");
45
46
47window.$RefreshReg$ = prevRefreshReg;
48window.$RefreshSig$ = prevRefreshSig;
49
50RefreshRuntime.__hmr_import(import.meta.url).then((currentExports) => {
51  RefreshRuntime.registerExportsForReactRefresh("/data/sixsigma/six-sigma-ui/src/app/modules/auth/Logout.tsx", currentExports);
52  import.meta.hot.accept((nextExports) => {
53    if (!nextExports) return;
54    const invalidateMessage = RefreshRuntime.validateRefreshBoundaryAndEnqueueUpdate("/data/sixsigma/six-sigma-ui/src/app/modules/auth/Logout.tsx", currentExports, nextExports);
55    if (invalidateMessage) import.meta.hot.invalidate(invalidateMessage);
56  });
57});
58
59//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxvZ291dC50c3giXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdXNlRWZmZWN0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBOYXZpZ2F0ZSwgUm91dGVzIH0gZnJvbSAncmVhY3Qtcm91dGVyLWRvbSdcbmltcG9ydCB7IHVzZUF1dGggfSBmcm9tICcuL2NvcmUvQXV0aCdcblxuZXhwb3J0IGZ1bmN0aW9uIExvZ291dCgpIHtcbiAgY29uc3QgeyBsb2dvdXQgfSA9IHVzZUF1dGgoKVxuICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgIGxvZ291dCgpXG4gICAgZG9jdW1lbnQubG9jYXRpb24ucmVsb2FkKClcbiAgfSwgW2xvZ291dF0pXG5cbiAgcmV0dXJuIChcbiAgICA8Um91dGVzPlxuICAgICAgPE5hdmlnYXRlIHRvPScvYXV0aC9sb2dpbicgLz5cbiAgICA8L1JvdXRlcz5cbiAgKVxufVxuIl0sIm5hbWVzIjpbInVzZUVmZmVjdCIsIk5hdmlnYXRlIiwiUm91dGVzIiwidXNlQXV0aCIsIkxvZ291dCIsImxvZ291dCIsImRvY3VtZW50IiwibG9jYXRpb24iLCJyZWxvYWQiLCJ0byJdLCJyYW5nZU1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxTQUFTQSxTQUFTLFFBQVEsUUFBTztBQUNqQyxTQUFTQyxRQUFRLEVBQUVDLE1BQU0sUUFBUSxtQkFBa0I7QUFDbkQsU0FBU0MsT0FBTyxRQUFRLGNBQWE7QUFFckMsT0FBTyxTQUFTQzs7SUFDZCxNQUFNLEVBQUVDLE1BQU0sRUFBRSxHQUFHRjtJQUNuQkgsVUFBVTtRQUNSSztRQUNBQyxTQUFTQyxRQUFRLENBQUNDLE1BQU07SUFDMUIsR0FBRztRQUFDSDtLQUFPO0lBRVgscUJBQ0UsUUFBQ0g7a0JBQ0MsY0FBQSxRQUFDRDtZQUFTUSxJQUFHOzs7Ozs7Ozs7OztBQUduQjtHQVpnQkw7O1FBQ0tEOzs7S0FETEMifQ==

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.