Skip to content

Commit

Permalink
fix(dcd): extract constant and update import
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 26, 2024
1 parent 960fb06 commit a18a165
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/[guild]/JoinModal/hooks/useJoin.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { JoinJob } from "@guildxyz/types"
import { CircleWavyCheck } from "@phosphor-icons/react"
import { GUILD_PIN_MAINTENANCE } from "components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/MintGuildPin"
import { GUILD_PIN_MAINTENANCE } from "components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/constants"
import { useMintGuildPinContext } from "components/[guild]/Requirements/components/GuildCheckout/MintGuildPinContext"
import useGuild from "components/[guild]/hooks/useGuild"
import useUser from "components/[guild]/hooks/useUser"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Modal } from "components/common/Modal"
import { useMintGuildPinContext } from "../../MintGuildPinContext"
import AlphaTag from "../../components/AlphaTag"
import GuildPinImage from "../../components/GuildPinImage"
import { GUILD_PIN_MAINTENANCE } from "../MintGuildPin"
import { GUILD_PIN_MAINTENANCE } from "../constants"
import FuelGuildPinFees from "./FuelGuildPinFees"
import MintFuelGuildPinButton from "./MintFuelGuildPinButton"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ import TransactionStatusModal from "../components/TransactionStatusModal"
import GuildPinOpenseaLink from "../components/TransactionStatusModal/components/GuildPinOpenseaLink"
import MintGuildPinButton from "../components/buttons/MintGuildPinButton"
import SwitchNetworkButton from "../components/buttons/SwitchNetworkButton"

export const GUILD_PIN_MAINTENANCE = false
import { GUILD_PIN_MAINTENANCE } from "./constants"

const DynamicActivateGuildPinModal = dynamic(
() => import("./components/ActivateGuildPinModal")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const GUILD_PIN_MAINTENANCE = false

0 comments on commit a18a165

Please sign in to comment.