import React from "react"; import TopicItems from "./TopicItem"; import { useIsLoggedIn } from '../lib/isLoggedIn'; const topicPageDesc = 'Cutting-edge discussions on tech, digital services, news, and digital freedom. Stay informed on AI, cybersecurity, privacy, and the future of innovation.'; export default function TopicCreation(props) { const { isLoggedIn, loading, error } = useIsLoggedIn(); if (loading) { return
Loading...
; } if (error) { return
Error loading authentication status
; } return ( <> {isLoggedIn && (
Create New My Topics
)} ); }