Skip to content

Commit

Permalink
add back prettier, some other format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraviolet10 committed Mar 7, 2024
1 parent 701f868 commit 3a5640c
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions packages/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"next": "^13.5.6",
"next-themes": "^0.2.1",
"next-transpile-modules": "^10.0.1",
"prettier": "^3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "^4.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/actions/joinGame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
import { FetchedGameData, GameStatus, PlayerData, PrivateInfo } from "src/store/types"
import { waitForUpdate } from "src/store/update"
import { getOrInitPrivateInfo, setGameID, setPrivateInfo } from "src/store/write"
import { FAKE_PROOF, ProofOutput, proveInWorker,SHOULD_GENERATE_PROOFS } from "src/utils/zkproofs"
import { FAKE_PROOF, ProofOutput, proveInWorker, SHOULD_GENERATE_PROOFS } from "src/utils/zkproofs"
import { decodeEventLog } from "viem"

// =================================================================================================
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/components/collection/deckPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react"
import Image from "next/image"

import { Button } from "src/components/ui/button"
import { Card,Deck } from "src/store/types"
import { Card, Deck } from "src/store/types"
import { testCards } from "src/utils/card-list"

interface DeckConstructionPanelProps {
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/components/modals/gameEndedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useCallback, useState } from "react"
import { useRouter } from "next/router"

import { Button } from "src/components/ui/button"
import { Dialog, DialogContent,DialogDescription, DialogTitle } from "src/components/ui/dialog"
import { Dialog, DialogContent, DialogDescription, DialogTitle } from "src/components/ui/dialog"
import { useGameData, useGameID } from "src/store/hooks"
import { navigate } from "src/utils/navigate"

Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/components/modals/loadingModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReactNode, useCallback } from "react"

import { Spinner } from "src/components/lib/modalElements"
import { Button } from "src/components/ui/button"
import { Dialog, DialogContent,DialogDescription, DialogTitle } from "src/components/ui/dialog"
import { Dialog, DialogContent, DialogDescription, DialogTitle } from "src/components/ui/dialog"

// =================================================================================================

Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from "next/link"

import { ConnectKitButton } from "connectkit"
import { NavigationMenu, NavigationMenuItem,NavigationMenuList } from "src/components/ui/navigation-menu"
import { NavigationMenu, NavigationMenuItem, NavigationMenuList } from "src/components/ui/navigation-menu"

import { Button } from "./ui/button"

Expand Down
4 changes: 2 additions & 2 deletions packages/webapp/src/pages/collection.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect,useMemo, useState } from "react"
import React, { useEffect, useMemo, useState } from "react"
import Head from "next/head"
import { useRouter } from "next/router"

Expand All @@ -13,7 +13,7 @@ import { Navbar } from "src/components/navbar"
import { deployment } from "src/deployment"
import { useInventoryCardsCollectionGetCollection } from "src/generated"
import { FablePage } from "src/pages/_app"
import { Card,Deck } from "src/store/types"
import { Card, Deck } from "src/store/types"
import { navigate } from "utils/navigate"
import { useAccount } from "wagmi"

Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/utils/zkproofs/proofWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Used from {@link proveInWorker}.
*/

import { type ProofInputs,prove } from "src/utils/zkproofs/proofs"
import { type ProofInputs, prove } from "src/utils/zkproofs/proofs"

// =================================================================================================

Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/wagmi.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from "@wagmi/cli"
import { foundry,react } from "@wagmi/cli/plugins"
import { foundry, react } from "@wagmi/cli/plugins"

export default defineConfig({
out: "src/generated.ts",
Expand Down
4 changes: 3 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3a5640c

Please sign in to comment.