Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

173
Visualizações
Going to new page in sveltekit adds new html on top of old one

I have a really weird problem that I can't find anything related online, I have a web application built in sveltekit and on one page I have a button that redirects to another page using the goto function, but the new page get's added to the bottom of the old one, including the header and shared components it's like the entire page was imported twice in a root component, when I refresh the old one goes away

It's a pretty big website so it's hard to reproduce in a repl

here is the Link

Here are the steps to recreate it

  • click on order now

  • choose pickup (delivery has a radius restriction for address)

  • choose any category

  • add some items to cart

  • once it's in the cart go back to the previous page and select another category

  • there will be a popup asking you if you are sure since this will delete your previous items

  • that's when it happens

Any help will be greatly appreciated, If you think any part of the code will be helpful I will post it

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda