Skip to content

Commit 401f298

Browse files
committed
Fixed import in 40
1 parent bb5ded4 commit 401f298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/05-generics/40-generic-class-components.problem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ReactNode } from "react";
1+
import React, { ReactNode } from "react";
22
import { Equal, Expect } from "../helpers/type-utils";
33

44
interface TableProps {

src/05-generics/40-generic-class-components.solution.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ReactNode } from "react";
1+
import React, { ReactNode } from "react";
22
import { Equal, Expect } from "../helpers/type-utils";
33

44
interface TableProps<TRow> {

0 commit comments

Comments
 (0)