增加事件的分享功能

This commit is contained in:
2025-12-28 22:53:40 +08:00
parent f35a5b4b47
commit 325ca2b796
7 changed files with 524 additions and 15 deletions

View File

@@ -4,7 +4,6 @@
import React, { useState, useCallback } from 'react';
import {
HStack,
VStack,
Box,
Text,
Tooltip,
@@ -41,7 +40,7 @@ const EventEngagement = ({
onVoteChange,
}) => {
const toast = useToast();
const { isLoggedIn } = useAuth();
const { isAuthenticated: isLoggedIn } = useAuth();
const [localVote, setLocalVote] = useState(userVote);
const [localBullish, setLocalBullish] = useState(bullishCount);