From 8f62d524d2e6ede9a76c093a6b51c9696b13cfcc Mon Sep 17 00:00:00 2001 From: "Carina.Akaia.io" Date: Wed, 27 Nov 2024 11:53:52 +0000 Subject: [PATCH] chore: Format --- src/common/ui/components/_legacy/TimeLeft.tsx | 1 - src/modules/pot/components/ActivePots.tsx | 1 - src/modules/pot/components/PotTimeline.tsx | 2 +- src/pages/pots.tsx | 7 +++---- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/common/ui/components/_legacy/TimeLeft.tsx b/src/common/ui/components/_legacy/TimeLeft.tsx index e8715905..a4c8d09f 100644 --- a/src/common/ui/components/_legacy/TimeLeft.tsx +++ b/src/common/ui/components/_legacy/TimeLeft.tsx @@ -42,4 +42,3 @@ export const TimeLeft = ({ daysLeft }: { daysLeft: number }) => { return timeLeft; }; - diff --git a/src/modules/pot/components/ActivePots.tsx b/src/modules/pot/components/ActivePots.tsx index e1efa2e4..92d09fe7 100644 --- a/src/modules/pot/components/ActivePots.tsx +++ b/src/modules/pot/components/ActivePots.tsx @@ -118,4 +118,3 @@ export const ActivePots = () => { ); }; - diff --git a/src/modules/pot/components/PotTimeline.tsx b/src/modules/pot/components/PotTimeline.tsx index e3eef69b..bd0fea78 100644 --- a/src/modules/pot/components/PotTimeline.tsx +++ b/src/modules/pot/components/PotTimeline.tsx @@ -3,10 +3,10 @@ import { useCallback, useState } from "react"; import { styled } from "styled-components"; import { ByPotId } from "@/common/api/indexer"; +import { TimeLeft } from "@/common/ui/components/_legacy/TimeLeft"; import { cn } from "@/common/ui/utils"; import { PotTimelineFragment } from "./PotTimelineFragment"; -import { TimeLeft } from "@/common/ui/components/_legacy/TimeLeft"; import { usePotLifecycle } from "../hooks/lifecycle"; /** diff --git a/src/pages/pots.tsx b/src/pages/pots.tsx index f1156238..32adb5be 100644 --- a/src/pages/pots.tsx +++ b/src/pages/pots.tsx @@ -1,13 +1,12 @@ -import { PageWithBanner } from "@/common/ui/components"; -import {ActivePots} from "@/modules/pot"; import { useEffect, useState } from "react"; import Link from "next/link"; import { potFactoryClient } from "@/common/contracts/core"; -import { Button } from "@/common/ui/components"; +import { Button, PageWithBanner } from "@/common/ui/components"; import { useWallet } from "@/modules/auth"; -import {hrefByRouteName} from "@/modules/core"; +import { hrefByRouteName } from "@/modules/core"; +import { ActivePots } from "@/modules/pot"; const Banner = () => { const { wallet } = useWallet();