diff --git a/src/components/CreateFeed/CreateFeed.tsx b/src/components/CreateFeed/CreateFeed.tsx index dca1a8a1e..ead51381d 100644 --- a/src/components/CreateFeed/CreateFeed.tsx +++ b/src/components/CreateFeed/CreateFeed.tsx @@ -28,6 +28,7 @@ import { createFeed, createFeedInstanceWithFS } from "./createFeedHelper"; import { Types } from "./types/feed"; export default function CreateFeed() { + const isLoggedIn = useTypedSelector((state) => state.user.isLoggedIn); const [feedProcessing, setFeedProcessing] = React.useState(false); const queryClient = useQueryClient(); const router = useContext(MainRouterContext); @@ -215,6 +216,7 @@ export default function CreateFeed() { icon={} variant="primary" onClick={() => closeWizard()} + isDisabled={!isLoggedIn} > Create Feed