[skip ci] Prevent MUI console error
"A component rendering a native <button> resolved to a non-<button> element..." which was logged in case the button was disabled
This commit is contained in:
@@ -15,7 +15,6 @@ import Popover from '@mui/material/Popover';
|
|||||||
import { bindPopover, bindTrigger, usePopupState } from 'material-ui-popup-state/hooks';
|
import { bindPopover, bindTrigger, usePopupState } from 'material-ui-popup-state/hooks';
|
||||||
import FormControl from '@mui/material/FormControl';
|
import FormControl from '@mui/material/FormControl';
|
||||||
import InputLabel from '@mui/material/InputLabel';
|
import InputLabel from '@mui/material/InputLabel';
|
||||||
import { Link } from 'react-router-dom';
|
|
||||||
import { useLingui } from '@lingui/react/macro';
|
import { useLingui } from '@lingui/react/macro';
|
||||||
import { Select } from '@/base/components/inputs/Select.tsx';
|
import { Select } from '@/base/components/inputs/Select.tsx';
|
||||||
import { ReaderChapterList } from '@/features/reader/overlay/navigation/components/ReaderChapterList.tsx';
|
import { ReaderChapterList } from '@/features/reader/overlay/navigation/components/ReaderChapterList.tsx';
|
||||||
@@ -80,7 +79,6 @@ const BaseReaderNavBarDesktopChapterNavigation = ({
|
|||||||
</Select>
|
</Select>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<ReaderNavBarDesktopNextPreviousButton
|
<ReaderNavBarDesktopNextPreviousButton
|
||||||
component={Link}
|
|
||||||
type="next"
|
type="next"
|
||||||
title={getOptionForDirection(t`Next chapter`, t`Previous chapter`, readerThemeDirection)}
|
title={getOptionForDirection(t`Next chapter`, t`Previous chapter`, readerThemeDirection)}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user