#The provided `href` value is missing query values (test)

3 messages · Page 1 of 1 (latest)

magic tartan
#

I am getting this error. i am using next js 13.2.3 with page router.
i am just setting bare skeleton

import React from 'react';

type Props = {};

function index({}: Props) {
  return <div className="text-white">hello world</div>;
}

export default index;

this error only comes when i refresh the page. I tried looking onto some similar issues online but i am not using any Link or anchor tag. All functionalities works under the hood.

lavish oreBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

magic tartan
#

Okay that was small mistake from my side
on the _app.tsx i was adding

useEffect(()=>{
      router.push(`?orgID=${orgID}`);
},[])

which caused router to push this every time route is rendered.