Skip to content

Commit

Permalink
fix(FormNoAccess): add proper types
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Jul 9, 2024
1 parent 15f5c83 commit 67a77c4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/[guild]/forms/FormNoAccess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ import { Lock } from "@phosphor-icons/react"
import Button from "components/common/Button"
import Card from "components/common/Card"
import ClientOnly from "components/common/ClientOnly"
import { PropsWithChildren } from "react"
import { useOpenJoinModal } from "../JoinModal/JoinModalProvider"
import RecheckAccessesButton from "../RecheckAccessesButton"

const FormNoAccess = ({ isMember, children }) => {
const FormNoAccess = ({
isMember,
children,
}: PropsWithChildren<{
isMember: boolean
}>) => {
const openJoinModal = useOpenJoinModal()

const bgColor = useColorModeValue("gray.50", "blackAlpha.300")
Expand Down

0 comments on commit 67a77c4

Please sign in to comment.