Skip to content

Commit

Permalink
Rename bundlCard to BagCard
Browse files Browse the repository at this point in the history
  • Loading branch information
bfullam committed Apr 23, 2024
1 parent b7448ec commit e52064a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { useEffect, useRef, useState } from "react";
import { BundlCard } from "../components/bundlCard";
import { BagCard } from "../components/BagCard";
import { ApolloClient, InMemoryCache, gql } from "@apollo/client";
import type { NextPage } from "next";
import Jazzicon, { jsNumberForAddress } from "react-jazzicon";
Expand Down Expand Up @@ -322,7 +322,7 @@ const Home: NextPage = () => {
<div className="grid grid-cols-3 gap-4 pt-8">
{tokenlist?.map((token, index) => (
<div key={index}>
<BundlCard tokenId={token.toString()} />
<BagCard tokenId={token.toString()} />
</div>
))}
{(tokenlist?.length === 0 || !tokenlist) && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ImageWithFallback } from "~~/components/ImageWithFallback";
import { useScaffoldContractWrite } from "~~/hooks/scaffold-eth";
import { useScaffoldContractRead } from "~~/hooks/scaffold-eth";

type BundlCardProps = {
type BagCardProps = {
tokenId: string;
};

Expand All @@ -24,7 +24,7 @@ type TokenBalance = {
decimalPlaces: number;
};

export const BundlCard = ({ tokenId }: BundlCardProps) => {
export const BagCard = ({ tokenId }: BagCardProps) => {
const chainId = useChainId();
// STATES
const [isModalOpen, setIsModalOpen] = useState(false);
Expand Down

0 comments on commit e52064a

Please sign in to comment.