Fix image resolution setting value checking (#1741)

This commit is contained in:
Lyosha
2026-02-21 00:10:26 +03:00
committed by GitHub
parent 2866ca9537
commit e5f99af43b
@@ -78,9 +78,7 @@ export const ImageResolutionSettings = memo(() => {
max={2000}
min={0}
onChange={(e) => {
if (!e) return;
if (typeof e === 'string') return;
if (typeof e !== 'number') return;
setSettings({
general: {