fix: wrong default state for modal
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ const DISCORD_ID = "1104474057916809226"
|
|||||||
const STEAM_LINK = "https://steamcommunity.com/profiles/76561198440714757/"
|
const STEAM_LINK = "https://steamcommunity.com/profiles/76561198440714757/"
|
||||||
|
|
||||||
function Content() {
|
function Content() {
|
||||||
const [isOpen, setIsOpen] = useState(true);
|
const [isOpen, setIsOpen] = useState(false);
|
||||||
|
|
||||||
const toggleModal = () => setIsOpen(!isOpen);
|
const toggleModal = () => setIsOpen(!isOpen);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user