1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Chore: Improve types for mobile and desktop themeStyle (#10297)

This commit is contained in:
Henry Heino
2024-04-11 00:35:20 -07:00
committed by GitHub
parent 55d25308f8
commit 346f49fa66
28 changed files with 408 additions and 378 deletions

View File

@ -35,8 +35,7 @@ interface Props {
const EncryptionConfigScreen = (props: Props) => {
const { inputPasswords, onInputPasswordChange } = useInputPasswords(props.passwords);
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
const theme: any = useMemo(() => {
const theme = useMemo(() => {
return themeStyle(props.themeId);
}, [props.themeId]);