Landing page improvements and various supporting improvements

This commit is contained in:
Luke Channings
2023-10-23 22:20:47 +01:00
parent 836267aa56
commit c4773dc904
105 changed files with 1831 additions and 780 deletions

View File

@ -292,7 +292,7 @@ function FontControls(props: FontControlsProps): JSX.Element {
})
const handleFontSizeChange = useCallback(
(value) => {
(value: number) => {
readerSettings.actionHandler('setFontSize', value)
},
[readerSettings]
@ -399,7 +399,7 @@ function LayoutControls(props: LayoutControlsProps): JSX.Element {
const { readerSettings } = props
const handleMarginWidthChange = useCallback(
(value) => {
(value: number) => {
readerSettings.setMarginWidth(value)
},
[readerSettings]