Make AppBar stick on scroll

This commit is contained in:
Deluan 2021-09-09 11:21:16 -04:00
parent 2e921cd793
commit 6ac2fefaf3

View File

@ -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