Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
type OpportunityChoice,
|
||||
} from '@/lib/investor-context';
|
||||
import { createOperationKey } from '@/lib/operation-key';
|
||||
import InvestmentBudgetRange from '@/components/investment-budget-range';
|
||||
export default function ContextStart({
|
||||
contexts,
|
||||
source,
|
||||
@@ -36,7 +37,10 @@ export default function ContextStart({
|
||||
0,
|
||||
200,
|
||||
)
|
||||
: (source?.title ?? opportunityChoices[0]?.opportunity.title ?? ''),
|
||||
: (entryQuery.project_title ??
|
||||
source?.title ??
|
||||
opportunityChoices[0]?.opportunity.title ??
|
||||
''),
|
||||
);
|
||||
const [consent, setConsent] = useState(false);
|
||||
const [busy, setBusy] = useState(false);
|
||||
@@ -80,6 +84,14 @@ export default function ContextStart({
|
||||
};
|
||||
return (
|
||||
<Frame title="Iniciar ou continuar um investimento">
|
||||
{!source && !opportunityChoices.length && (
|
||||
<p>
|
||||
Prepare a sua ideia no mesmo dossier, mesmo sem anúncios
|
||||
publicados. Corredores, parques e zonas são associações
|
||||
opcionais.
|
||||
</p>
|
||||
)}
|
||||
<InvestmentBudgetRange values={entryQuery} />
|
||||
<SelectedComplements items={entryComplements} />
|
||||
{!!opportunityChoices.length && (
|
||||
<section className={card}>
|
||||
|
||||
Reference in New Issue
Block a user