mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 23:16:42 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
c65eea1e38
commit
be2c9a2f6c
8 changed files with 16 additions and 16 deletions
|
|
@ -18,7 +18,7 @@ function CheckoutSuccessPage() {
|
|||
// Invalida queries de assinatura para refletir o novo estado quando o webhook chegar
|
||||
queryClient.invalidateQueries({ queryKey: ["subscription"] });
|
||||
const t = setTimeout(() => {
|
||||
navigate({ to: "/painel" });
|
||||
navigate({ to: "/painel", search: {} });
|
||||
}, 6000);
|
||||
return () => clearTimeout(t);
|
||||
}, [navigate, queryClient]);
|
||||
|
|
@ -37,7 +37,7 @@ function CheckoutSuccessPage() {
|
|||
</div>
|
||||
<div className="flex flex-col sm:flex-row gap-3 justify-center">
|
||||
<Button asChild className="rounded-lg bg-primary hover:bg-primary-dark text-primary-foreground">
|
||||
<Link to="/painel">Ir para o painel</Link>
|
||||
<Link to="/painel" search={{}}>Ir para o painel</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline" className="rounded-lg">
|
||||
<Link to="/painel/faturamento">Ver faturamento</Link>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue