mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 12:57:41 +03:00
Make AppBar stick on scroll
This commit is contained in:
parent
2e921cd793
commit
6ac2fefaf3
@ -1,4 +1,4 @@
|
||||
import React, { createElement, forwardRef } from 'react'
|
||||
import React, { createElement, forwardRef, Fragment } from 'react'
|
||||
import {
|
||||
AppBar as RAAppBar,
|
||||
MenuItemLink,
|
||||
@ -131,6 +131,8 @@ const CustomUserMenu = ({ onClick, ...rest }) => {
|
||||
)
|
||||
}
|
||||
|
||||
const AppBar = (props) => <RAAppBar {...props} userMenu={<CustomUserMenu />} />
|
||||
const AppBar = (props) => (
|
||||
<RAAppBar {...props} container={Fragment} userMenu={<CustomUserMenu />} />
|
||||
)
|
||||
|
||||
export default AppBar
|
||||
|
Loading…
x
Reference in New Issue
Block a user