diff --git a/src/components/[guild]/JoinModal/hooks/useJoin.tsx b/src/components/[guild]/JoinModal/hooks/useJoin.tsx index 556ef4c1ee..0e3fcc1bb4 100644 --- a/src/components/[guild]/JoinModal/hooks/useJoin.tsx +++ b/src/components/[guild]/JoinModal/hooks/useJoin.tsx @@ -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" diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/MintFuelGuildPin.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/MintFuelGuildPin.tsx index 306b32273f..76dce0ac2a 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/MintFuelGuildPin.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/MintFuelGuildPin.tsx @@ -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" diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/MintGuildPin.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/MintGuildPin.tsx index 6234d5da94..49c2811237 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/MintGuildPin.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/MintGuildPin.tsx @@ -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") diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/constants.ts b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/constants.ts new file mode 100644 index 0000000000..d4b1873002 --- /dev/null +++ b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/constants.ts @@ -0,0 +1 @@ +export const GUILD_PIN_MAINTENANCE = false