Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed Jul 8, 2024
1 parent 0a0aeb1 commit c0e0cf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/tabs/redeem-nyc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import {
} from "@chakra-ui/react";
import { atom, useAtom, useAtomValue } from "jotai";
import { LuExternalLink, LuRepeat } from "react-icons/lu";
import { stxAddressAtom } from "../../store/stacks";
import SignIn from "../auth/sign-in";
import { stxAddressAtom } from "../../store/stacks";
import {
ccd012TxIdAtom,
redemptionForBalanceAtom,
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/use-ccd-012.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect } from "react";
import { useAtom, useAtomValue, useSetAtom } from "jotai";
import { useToast } from "@chakra-ui/react";
import { ClarityValue, noneCV, principalCV } from "micro-stacks/clarity";
import { FinishedTxData } from "micro-stacks/connect";
Expand Down Expand Up @@ -31,7 +32,6 @@ import {
v1BalanceNYCAtom,
v2BalanceNYCAtom,
} from "../store/ccd-012";
import { useAtom, useAtomValue, useSetAtom } from "jotai";
import { stxAddressAtom } from "../store/stacks";

const onFinishToast = (tx: FinishedTxData, toast: any) => {
Expand Down
3 changes: 1 addition & 2 deletions src/store/ccip-022.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import { atom } from "jotai";
import { atomWithStorage } from "jotai/utils";
import { fetchReadOnlyFunction } from "micro-stacks/api";
import { validateStacksAddress } from "micro-stacks/crypto";
import { principalCV, standardPrincipalCV, uintCV } from "micro-stacks/clarity";
import { standardPrincipalCV, uintCV } from "micro-stacks/clarity";
import { stxAddressAtom } from "./stacks";
import { STACKING_DAO_CONTRACT_ADDRESS } from "./ccd-012";

/////////////////////////
// TYPES
Expand Down

0 comments on commit c0e0cf5

Please sign in to comment.