fix: validate simulator dates and reconcile QA calculations reports and language
This commit is contained in:
@@ -419,6 +419,9 @@ function PartnershipForm() {
|
||||
}
|
||||
|
||||
function Simulator() {
|
||||
const page = usePage<{ auth: { user: { id: number } | null } }>();
|
||||
const query = new URL(page.url, 'https://investmoz.invalid').searchParams;
|
||||
const scope = `${page.props.auth.user?.id ?? 'anonymous'}:${query.get('context') ?? ''}:${query.get('draft') ?? ''}`;
|
||||
return (
|
||||
<div className="space-y-5">
|
||||
<p>
|
||||
@@ -428,7 +431,7 @@ function Simulator() {
|
||||
para rever mercado, localização, recursos, formalização e
|
||||
execução.
|
||||
</p>
|
||||
<SimulationForm />
|
||||
<SimulationForm key={scope} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user