Explorar o código

@uppy/informer: remove remaining `require` call (#3737)

Left over from https://github.com/transloadit/uppy/pull/3732
Antoine du Hamel %!s(int64=2) %!d(string=hai) anos
pai
achega
1edf97085e
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      packages/@uppy/informer/src/TransitionGroup.js

+ 1 - 2
packages/@uppy/informer/src/TransitionGroup.js

@@ -2,9 +2,8 @@
 /**
  * @source https://github.com/developit/preact-transition-group
  */
-'use strict'
 
-const { Component, cloneElement, h, toChildArray } = require('preact')
+import { Component, cloneElement, h, toChildArray } from 'preact'
 
 function assign (obj, props) {
   return Object.assign(obj, props)