Add hook to get value based on themes "direction"
In case the component didn't rerender on a language change, the used value was never updated based on the new "direction"
This commit is contained in:
@@ -11,7 +11,7 @@ import Box from '@mui/material/Box';
|
||||
import { IReaderSettings } from '@/typings';
|
||||
import { SpinnerImage } from '@/components/util/SpinnerImage';
|
||||
import { imageStyle } from '@/components/reader/Page';
|
||||
import { getOptionForDirection } from '@/theme.ts';
|
||||
import { getOptionForDirection } from '@/theme.tsx';
|
||||
|
||||
interface IProps {
|
||||
index: number;
|
||||
|
||||
Reference in New Issue
Block a user