mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
delint
This commit is contained in:
parent
f24982911d
commit
2ed1a4db21
@ -1,10 +1,7 @@
|
||||
import { useFetcher, useRouteLoaderData } from "@remix-run/react";
|
||||
import { cache } from "#/utils/cache";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import {
|
||||
BaseModalTitle,
|
||||
} from "./confirmation-modals/BaseModal";
|
||||
import { BaseModalTitle } from "./confirmation-modals/BaseModal";
|
||||
import ModalBody from "./ModalBody";
|
||||
import ModalButton from "../buttons/ModalButton";
|
||||
import FormFieldset from "../form/FormFieldset";
|
||||
|
||||
@ -5,7 +5,7 @@ import OpenHands from "#/api/open-hands";
|
||||
|
||||
const TOKEN_KEY = "token";
|
||||
const GITHUB_TOKEN_KEY = "ghToken";
|
||||
const REPO_KEY = "repo"
|
||||
const REPO_KEY = "repo";
|
||||
|
||||
const getToken = (): string => localStorage.getItem(TOKEN_KEY) ?? "";
|
||||
|
||||
@ -35,7 +35,7 @@ const logout = (): void => {
|
||||
cache.clearAll();
|
||||
posthog.reset();
|
||||
OpenHands.logout();
|
||||
}
|
||||
};
|
||||
|
||||
export {
|
||||
getToken,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user