From 158b467fff07981b43af81f6520d3dba06baeffa Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 10 Jul 2023 16:34:09 +0800 Subject: Run react-codemod update-react-imports --- FrontEnd/src/views/home/TimelineListView.tsx | 2 +- FrontEnd/src/views/home/WebsiteIntroduction.tsx | 2 +- FrontEnd/src/views/home/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'FrontEnd/src/views/home') diff --git a/FrontEnd/src/views/home/TimelineListView.tsx b/FrontEnd/src/views/home/TimelineListView.tsx index 7bffba76..fbcdc9b0 100644 --- a/FrontEnd/src/views/home/TimelineListView.tsx +++ b/FrontEnd/src/views/home/TimelineListView.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import * as React from "react"; import { useTranslation } from "react-i18next"; import { Link } from "react-router-dom"; diff --git a/FrontEnd/src/views/home/WebsiteIntroduction.tsx b/FrontEnd/src/views/home/WebsiteIntroduction.tsx index aea7b4b2..e843c325 100644 --- a/FrontEnd/src/views/home/WebsiteIntroduction.tsx +++ b/FrontEnd/src/views/home/WebsiteIntroduction.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import * as React from "react"; import { useTranslation } from "react-i18next"; import { Link } from "react-router-dom"; diff --git a/FrontEnd/src/views/home/index.tsx b/FrontEnd/src/views/home/index.tsx index d734b2b7..3c80fb0c 100644 --- a/FrontEnd/src/views/home/index.tsx +++ b/FrontEnd/src/views/home/index.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import * as React from "react"; import { useNavigate } from "react-router-dom"; import { highlightTimelineUsername } from "@/common"; -- cgit v1.2.3