File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ export const LoaderInput: React.FunctionComponent<Props> = ({
17
17
)
18
18
19
19
export const LoaderInput2 : React . FunctionComponent < Props > = props => {
20
- return < LoaderInput loading = { true } children = { props . children } />
20
+ return < LoaderInput loading = { true } key = "key" children = { props . children } />
21
21
}
Original file line number Diff line number Diff line change 41
41
// ^^^^^^^^^^^^^^^^^ reference @types/react 17.0.0 `index.d.ts`/React/FunctionComponent#
42
42
// ^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/Props#
43
43
// ^^^^^ definition local 7
44
- return < LoaderInput loading = { true } children = { props . children } />
44
+ return < LoaderInput loading = { true } key = "key" children = { props . children } />
45
45
// ^^^^^^^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/LoaderInput.
46
46
// ^^^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/Props#loading.
47
- // ^^^^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/Props#children.
48
- // ^^^^^ reference local 7
49
- // ^^^^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/Props#children.
50
- // ^^^^^^^^ reference local 11
47
+ // ^^^ reference local 11
48
+ // ^^^^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/Props#children.
49
+ // ^^^^^ reference local 7
50
+ // ^^^^^^^^ reference react-example 1.0.0 src/`LoaderInput.tsx`/Props#children.
51
+ // ^^^^^^^^ reference local 15
51
52
}
52
53
You can’t perform that action at this time.
0 commit comments