2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

fix(frontend): header nesting warning when using navbar_message (#9154)

This commit is contained in:
Matthias Mair
2025-02-22 22:16:03 +01:00
committed by GitHub
parent 211c833c44
commit c3f737b320

View File

@ -118,7 +118,7 @@ export function Header() {
{navbar_message && ( {navbar_message && (
<Text> <Text>
{/* biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation> */} {/* biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation> */}
<div dangerouslySetInnerHTML={{ __html: navbar_message }} /> <span dangerouslySetInnerHTML={{ __html: navbar_message }} />
</Text> </Text>
)} )}
<Group> <Group>