[TabView] Warning: Prop `href` did not match...
Posted: 17 Nov 2020, 08:55
I am getting the following warning which appears to emanate from the TabView component in this lib:
My use of the TabView and TabPanels is very simple... In fact, I've stripped all my content out to just the following barebones, and the error still occurs:
What is causing this warning and can you suggest how I might eliminate it?
Code: Select all
Warning: Prop `href` did not match. Server: "#pr_id_18_content_0" Client: "#pr_id_1_content_0"
in a (created by TabView)
in li (created by TabView)
in ul (created by TabView)
in div (created by TabView)
in TabView (at ConceptScreen.js:78)
...
Code: Select all
import { TabView, TabPanel } from 'primereact/tabview';
export const ConceptScreen = ({...props}) => {
...
return (
<>
<TabView>
<TabPanel header="Concept" leftIcon="pi pi-check" />
<TabPanel header="Collaborators" leftIcon="pi pi-user" />
</TabView>
</>
);
}