소스 검색

@uppy/core: fix `setOptions` not re-rendereing plugin UI (#5082)

Antoine du Hamel 1 년 전
부모
커밋
a4fc709993
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      packages/@uppy/core/src/BasePlugin.ts

+ 0 - 1
packages/@uppy/core/src/BasePlugin.ts

@@ -72,7 +72,6 @@ export default class BasePlugin<
   }
 
   setPluginState(update?: Partial<PluginState>): void {
-    if (!update) return
     const { plugins } = this.uppy.getState()
 
     this.uppy.setState({