Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!