When using the top nav logo component with server side rendering, warnings appear in the console · Issue #2069 · Autodesk/hig · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By clicking &ldqu
8000
o;Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
However I'm not quite sure what's going on. Needs further investigation. It might require {{__html: ''}}
code snippet
<TopNav
logo={
// There is a logo component, but I found I received errors while using it
<Logo link='/'>
<img src="/static/autobadlogo-cropped.png" alt="autobad logo" width="30"/><LogoText>utoBAD</LogoText>
</Logo>
} />
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
index.js:1 Warning: Prop
dangerouslySetInnerHTML
did not match. Server: "<img src="/static/autobadlogo-cropped.png" alt="autobad logo" width="30"><h1 style="display:inline-block;margin:0;font-size:16px;line-height:16px;font-weight:400" class="css-oswdbz">utoBAD" Client: ""I looked in the presenter and found
https://github.com/Autodesk/hig/blob/development/packages/top-nav/src/presenters/LogoPresenter.js#L34
However I'm not quite sure what's going on. Needs further investigation. It might require {{__html: ''}}
code snippet
The text was updated successfully, but these errors were encountered: