mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Fix image resolution setting value checking (#1741)
This commit is contained in:
@@ -78,9 +78,7 @@ export const ImageResolutionSettings = memo(() => {
|
|||||||
max={2000}
|
max={2000}
|
||||||
min={0}
|
min={0}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
if (!e) return;
|
if (typeof e !== 'number') return;
|
||||||
|
|
||||||
if (typeof e === 'string') return;
|
|
||||||
|
|
||||||
setSettings({
|
setSettings({
|
||||||
general: {
|
general: {
|
||||||
|
|||||||
Reference in New Issue
Block a user