Skip to content

Commit

Permalink
delete unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
stiemsdev authored Jun 14, 2024
1 parent 309ae15 commit ea8c0dc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions src/components/Ownable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ import TypedDict from "../interfaces/TypedDict";
import { TypedPackage } from "../interfaces/TypedPackage";
import Overlay, { OverlayBanner } from "./Overlay";
import LTOService from "../services/LTO.service";
import asDownload from "../utils/asDownload";
import shortId from "../utils/shortId";
import If from "./If";
import EventChainService from "../services/EventChain.service";
import { RelayService } from "../services/Relay.service";
import IDBService from "../services/IDB.service";
import { enqueueSnackbar } from "notistack";

interface OwnableProps {
Expand Down
3 changes: 0 additions & 3 deletions src/services/EventChain.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { StateDump } from "./Ownable.service";
import LocalStorageService from "./LocalStorage.service";
import TypedDict from "../interfaces/TypedDict";
import { IEventChainJSON } from "@ltonetwork/lto/interfaces";
import PackageService from "./Package.service";
import { Buffer } from "buffer";

interface StoredChainInfo {
chain: IEventChainJSON;
Expand Down Expand Up @@ -94,7 +92,6 @@ export default class EventChainService {
const storedState = (await IDBService.hasStore(`ownable:${id}`))
? await IDBService.get(`ownable:${id}`, "state")
: undefined;
const instance = state instanceof Binary ? state.hex : state;
if (storedState !== (state instanceof Binary ? state.hex : state))
return null;

Expand Down
2 changes: 1 addition & 1 deletion src/services/Relay.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LTO, Account, Message, Relay } from "@ltonetwork/lto";
import { LTO, Message, Relay } from "@ltonetwork/lto";
import SessionStorageService from "./SessionStorage.service";
import axios from "axios";
import sendFile from "./relayhelper.service";
Expand Down

0 comments on commit ea8c0dc

Please sign in to comment.