mirror of
https://github.com/0xFableOrg/0xFable.git
synced 2026-01-09 20:48:06 -05:00
add back prettier, some other format changes
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
@@ -117,6 +117,9 @@ importers:
|
||||
next-transpile-modules:
|
||||
specifier: ^10.0.1
|
||||
version: 10.0.1
|
||||
prettier:
|
||||
specifier: ^3.2.5
|
||||
version: 3.2.5
|
||||
react:
|
||||
specifier: 18.2.0
|
||||
version: 18.2.0
|
||||
@@ -11383,7 +11386,6 @@ packages:
|
||||
resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/pretty-bytes@5.6.0:
|
||||
resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}
|
||||
|
||||
Reference in New Issue
Block a user