Fix flow issue in GhostTextExample
This commit is contained in:
Родитель
bea7417e67
Коммит
b8d2bbaead
|
@ -107,6 +107,7 @@ function determineGhostText(
|
||||||
|
|
||||||
function GhostTextExample(): React.Node {
|
function GhostTextExample(): React.Node {
|
||||||
const counter = React.useRef(0);
|
const counter = React.useRef(0);
|
||||||
|
// $FlowFixMe[missing-empty-array-annot]
|
||||||
const [log, setLog] = React.useState([]);
|
const [log, setLog] = React.useState([]);
|
||||||
|
|
||||||
const clearLog = React.useCallback(() => {
|
const clearLog = React.useCallback(() => {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче