From e6f2dc2a73d9ef090c23001ff5785277dc3c39d3 Mon Sep 17 00:00:00 2001 From: Charlie McVicker Date: Tue, 30 Apr 2024 11:31:55 -0400 Subject: [PATCH] add /index to react-icons imports --- website/src/components/edit-word-audio/record.tsx | 5 ++--- website/src/components/edit-word-audio/upload.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/website/src/components/edit-word-audio/record.tsx b/website/src/components/edit-word-audio/record.tsx index d456a91e..733c62be 100644 --- a/website/src/components/edit-word-audio/record.tsx +++ b/website/src/components/edit-word-audio/record.tsx @@ -1,7 +1,6 @@ import { ReactElement, useEffect } from "react" -import { FaRegStopCircle } from "react-icons/fa" -import { FaMicrophone } from "react-icons/fa" -import { RiRecordCircleFill } from "react-icons/ri" +import { FaMicrophone, FaRegStopCircle } from "react-icons/fa/index" +import { RiRecordCircleFill } from "react-icons/ri/index" import { AudioPlayer } from ".." import * as Dailp from "../../graphql/dailp" import { diff --git a/website/src/components/edit-word-audio/upload.tsx b/website/src/components/edit-word-audio/upload.tsx index ab272f4b..50166d4f 100644 --- a/website/src/components/edit-word-audio/upload.tsx +++ b/website/src/components/edit-word-audio/upload.tsx @@ -1,5 +1,5 @@ import { ChangeEvent, ReactElement, useMemo, useState } from "react" -import { MdUploadFile } from "react-icons/md" +import { MdUploadFile } from "react-icons/md/index" import { VisuallyHidden } from "reakit" import * as Dailp from "src/graphql/dailp" import { AudioPlayer } from "../audio-player"