Add related opportunities state to OpportunityDetail
cgen-45ba63a8d3a944c68fc5ca98c3678c42
This commit is contained in:
parent
1c5f9076b4
commit
f046dbcd57
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ export default function OpportunityDetail() {
|
|||
const { user } = useAuth();
|
||||
const { toast } = useAethexToast();
|
||||
const [opportunity, setOpportunity] = useState<Opportunity | null>(null);
|
||||
const [relatedOpportunities, setRelatedOpportunities] = useState<
|
||||
Opportunity[]
|
||||
>([]);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [isApplying, setIsApplying] = useState(false);
|
||||
const [showApplyDialog, setShowApplyDialog] = useState(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue