#820 add missing react import in auto focus title hook
This commit is contained in:
committed by
Benoit TELLIER
parent
338fd91194
commit
33f7550792
@@ -1,4 +1,4 @@
|
|||||||
import { useEffect, useRef } from 'react'
|
import React, { useEffect, useRef } from 'react'
|
||||||
|
|
||||||
// Effects that auto-focus the title input must not run in the test environment
|
// Effects that auto-focus the title input must not run in the test environment
|
||||||
// because jsdom has no layout engine and focus() calls produce false positives.
|
// because jsdom has no layout engine and focus() calls produce false positives.
|
||||||
|
|||||||
Reference in New Issue
Block a user