Skip to content

Commit

Permalink
Changed contract.js to .ts
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpetretta committed Sep 20, 2022
1 parent f166aa1 commit ba40b7b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion react/components/AppProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { createContext, useContext, useState } from "react"
import Confetti from "react-confetti"
import toast from "react-hot-toast"
import { useAccount, useContractEvent, useContractRead } from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import { Tweet as TweetType } from "../lib/types"

const AppContext = createContext<{
Expand Down
2 changes: 1 addition & 1 deletion react/components/EditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
useContractWrite,
UserRejectedRequestError,
} from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import { EditProps } from "../lib/types.js"
import Avatar from "./Avatar"

Expand Down
2 changes: 1 addition & 1 deletion react/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
useContractWrite,
UserRejectedRequestError,
} from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import Avatar from "./Avatar"

export default function Editor() {
Expand Down
2 changes: 1 addition & 1 deletion react/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useRouter } from "next/router"
import { useState } from "react"
import { toast, Toaster } from "react-hot-toast"
import { useAccount, useContractRead } from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import { LayoutProps } from "../lib/types.js"
import Nav from "./Nav"
import Sidebar from "./Sidebar"
Expand Down
2 changes: 1 addition & 1 deletion react/components/ReplyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
useContractWrite,
UserRejectedRequestError,
} from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import { ReplyProps } from "../lib/types.js"
import Address from "./Address"
import Avatar from "./Avatar"
Expand Down
2 changes: 1 addition & 1 deletion react/components/Tweet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
useContractWrite,
UserRejectedRequestError,
} from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import { Tweet as TweetType, TweetProps } from "../lib/types"
import Address from "./Address"
import { useTweets } from "./AppProvider"
Expand Down
2 changes: 1 addition & 1 deletion react/components/TweetModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
useContractWrite,
UserRejectedRequestError,
} from "wagmi"
import { contractABI, contractAddress } from "../lib/contract.js"
import { contractABI, contractAddress } from "../lib/contract"
import { ModalProps } from "../lib/types.js"
import Avatar from "./Avatar"

Expand Down
File renamed without changes.

0 comments on commit ba40b7b

Please sign in to comment.