text: import React from 'react';
  
  /**
   * A `React.useEffect` that will not run on the first render.
   * https://github.com/reakit/reakit/blob/master/packages/reakit-utils/src/useUpdateEffect.ts
   */
  export function useUpdateEffect(effect, deps) {
  	const mounted = React.useRef(false);
  	React.useEffect(() => {
  		if (mounted.current) {
  			return effect();
  		}
  		mounted.current = true;
  		return undefined;
  		// eslint-disable-next-line
  	}, deps);
  }
  