feedback tab
This commit is contained in:
@@ -5,6 +5,7 @@ import Navbar from './components/Navbar';
|
||||
import Footer from './components/Footer';
|
||||
import AuthModal from './components/AuthModal';
|
||||
import AlphaGate from './components/AlphaGate';
|
||||
import FeedbackButton from './components/FeedbackButton';
|
||||
import Home from './pages/Home';
|
||||
import GoogleCallback from './pages/GoogleCallback';
|
||||
import VerifyEmail from './pages/VerifyEmail';
|
||||
@@ -32,7 +33,7 @@ import './App.css';
|
||||
const API_URL = process.env.REACT_APP_API_URL || 'http://localhost:5001';
|
||||
|
||||
const AppContent: React.FC = () => {
|
||||
const { showAuthModal, authModalMode, closeAuthModal } = useAuth();
|
||||
const { showAuthModal, authModalMode, closeAuthModal, user } = useAuth();
|
||||
const [hasAlphaAccess, setHasAlphaAccess] = useState<boolean | null>(null);
|
||||
const [checkingAccess, setCheckingAccess] = useState(true);
|
||||
|
||||
@@ -192,6 +193,9 @@ const AppContent: React.FC = () => {
|
||||
onHide={closeAuthModal}
|
||||
initialMode={authModalMode}
|
||||
/>
|
||||
|
||||
{/* Show feedback button for authenticated users */}
|
||||
{user && <FeedbackButton />}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user