2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>