mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 15:52:02 +00:00
eslint fix NavMenu
This commit is contained in:
parent
25e2069b22
commit
62e233f8da
2 changed files with 1 additions and 9 deletions
|
|
@ -97,14 +97,6 @@
|
||||||
"no-unused-vars": "off"
|
"no-unused-vars": "off"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"files": [
|
|
||||||
"src/common/NavBar/NavMenu/NavMenu.js"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"quotes": "off"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"files": [
|
"files": [
|
||||||
"src/services/Shell/Shell.js",
|
"src/services/Shell/Shell.js",
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ const NavMenu = ({ className }) => {
|
||||||
className={styles['avatar-container']}
|
className={styles['avatar-container']}
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: user === null ?
|
backgroundImage: user === null ?
|
||||||
`url('/images/anonymous.png')`
|
'url(\'/images/anonymous.png\')'
|
||||||
:
|
:
|
||||||
`url('${user.avatar}'), url('/images/default_avatar.png')`
|
`url('${user.avatar}'), url('/images/default_avatar.png')`
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue