Fix color depth/list button after MUI bump

This commit is contained in:
Reckless_Satoshi 2023-05-06 06:43:50 -07:00
parent 25f0b0eea5
commit 3c78299dfc
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -53,11 +53,7 @@ const BookPage = (): JSX.Element => {
{doubleView ? ( {doubleView ? (
<></> <></>
) : ( ) : (
<Button <Button onClick={() => setView(view === 'depth' ? 'list' : 'depth')}>
color='inherit'
style={{ color: '#111111' }}
onClick={() => setView(view === 'depth' ? 'list' : 'depth')}
>
{view == 'depth' ? ( {view == 'depth' ? (
<> <>
<FormatListBulleted /> {t('List')} <FormatListBulleted /> {t('List')}