mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Fix image resolution setting value checking (#1741)
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user