diff --git a/src/components/CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx b/src/components/CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx index 7fc6de07c..dd65671c0 100644 --- a/src/components/CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx +++ b/src/components/CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx @@ -145,7 +145,7 @@ export function CreateRoadmapModal(props: CreateRoadmapModalProps) { name="title" id="title" required - className="block w-full rounded-md border border-gray-300 px-2.5 py-2 outline-none focus:border-black sm:text-sm" + className="block text-black w-full rounded-md border border-gray-300 px-2.5 py-2 outline-none focus:border-black sm:text-sm" placeholder="Enter Title" value={title} onChange={(e) => setTitle(e.target.value)} @@ -165,7 +165,7 @@ export function CreateRoadmapModal(props: CreateRoadmapModalProps) { name="description" required className={cn( - 'block h-24 w-full resize-none rounded-md border border-gray-300 px-2.5 py-2 outline-none focus:border-black sm:text-sm', + 'block text-black h-24 w-full resize-none rounded-md border border-gray-300 px-2.5 py-2 outline-none focus:border-black sm:text-sm', isInvalidDescription && 'border-red-300 bg-red-100' )} placeholder="Enter Description" diff --git a/src/components/Navigation/AccountDropdown.tsx b/src/components/Navigation/AccountDropdown.tsx index 0bd114714..23571d5c7 100644 --- a/src/components/Navigation/AccountDropdown.tsx +++ b/src/components/Navigation/AccountDropdown.tsx @@ -4,12 +4,14 @@ import { isLoggedIn } from '../../lib/jwt'; import { AccountDropdownList } from './AccountDropdownList'; import { DropdownTeamList } from './DropdownTeamList'; import { useOutsideClick } from '../../hooks/use-outside-click'; +import { CreateRoadmapModal } from '../CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx'; export function AccountDropdown() { const dropdownRef = useRef(null); const [showDropdown, setShowDropdown] = useState(false); const [isTeamsOpen, setIsTeamsOpen] = useState(false); + const [isCreatingRoadmap, setIsCreatingRoadmap] = useState(false); useOutsideClick(dropdownRef, () => { setShowDropdown(false); @@ -22,6 +24,14 @@ export function AccountDropdown() { return (