#820 add missing react import in auto focus title hook

This commit is contained in:
lethemanh
2026-04-24 15:32:40 +07:00
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
// because jsdom has no layout engine and focus() calls produce false positives.