Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
jagnani73 committed Dec 5, 2023
1 parent 41a3005 commit 4e1d69d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { TokenAvatar } from "../../../Atoms/TokenAvatar/TokenAvatar";
import { Button } from "@/components/ui/button";
import { timestampParser } from "@/utils/functions";
import { BalancePriceDelta, IconWrapper } from "@/components/Shared";
import { AccountCardView } from "@/components/Molecules/AccountCardView/AccountCard";
import { AccountCard } from "@/components/Molecules/AccountCard/AccountCard";
import { TableHeaderSorting } from "@/components/ui/tableHeaderSorting";
import { sum } from "lodash";
import { GRK_SIZES } from "@/utils/constants/shared.constants";
Expand Down Expand Up @@ -616,7 +616,7 @@ export const TokenBalancesListView: React.FC<TokenBalancesListViewProps> = ({
return (
<div className="space-y-4">
<div className="flex flex-wrap place-content-between gap-2">
<AccountCardView address={address} />
<AccountCard address={address} />
<div className="w-full rounded border p-2 md:max-w-[15rem] lg:max-w-[15rem]">
<h2 className="text-md text-secondary">Total Quote</h2>
<div className="flex items-end gap-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
calculateTimeSeriesGroup,
} from "@/utils/functions";
import { Badge } from "@/components/ui/badge";
import { AccountCardView } from "@/components/Molecules/AccountCardView/AccountCard";
import { AccountCard } from "@/components/Molecules/AccountCard/AccountCard";
import { TableHeaderSorting } from "@/components/ui/tableHeaderSorting";
import { Button } from "@/components/ui/button";
import {
Expand Down Expand Up @@ -460,7 +460,7 @@ export const TokenTransfersListView: React.FC<TokenTransfersListViewProps> = ({
return (
<div className="space-y-4">
<div className="flex flex-wrap place-content-between gap-2">
<AccountCardView address={address} />
<AccountCard address={address} />
<div className="lg:max-w-[15rem]] w-full rounded border p-2 md:max-w-[15rem]">
<div className="items-center space-x-1">
<span>Network</span>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Shared/IconWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type IconWrapperPropsType } from "@/utils/types/atoms.types";
import { type IconWrapperProps } from "@/utils/types/shared.types";

const IconWrapper: React.FC<IconWrapperPropsType> = ({
const IconWrapper: React.FC<IconWrapperProps> = ({
class_name,
icon_class_name,
on_click,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/types/shared.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface CovalentProviderProps {
apikey: string;
}

export interface IconWrapperPropsType {
export interface IconWrapperProps {
class_name?: string;
icon_class_name?: string;
on_click?: (e?: React.MouseEvent<HTMLDivElement>) => void;
Expand Down

0 comments on commit 4e1d69d

Please sign in to comment.