From 02b40558a879c33b8853c48a8b2977af85a8b4cd Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 1 Jun 2024 16:32:46 +0200 Subject: [PATCH] Avoid import cycle --- packages/webamp/js/actionCreators/media.ts | 2 +- packages/webamp/js/components/App.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webamp/js/actionCreators/media.ts b/packages/webamp/js/actionCreators/media.ts index 05e37d5d..d247707f 100644 --- a/packages/webamp/js/actionCreators/media.ts +++ b/packages/webamp/js/actionCreators/media.ts @@ -15,7 +15,7 @@ import { } from "../actionTypes"; import { MEDIA_STATUS } from "../constants"; -import { openMediaFileDialog } from "./"; +import { openMediaFileDialog } from "./files"; import { GetState, Dispatch, Thunk, Action } from "../types"; import * as Selectors from "../selectors"; diff --git a/packages/webamp/js/components/App.tsx b/packages/webamp/js/components/App.tsx index dbc49f91..fb5675b6 100644 --- a/packages/webamp/js/components/App.tsx +++ b/packages/webamp/js/components/App.tsx @@ -25,7 +25,7 @@ import { useTypedSelector, useActionCreator } from "../hooks"; import Css from "./Css"; // @ts-ignore -import cssText from "bundle-text:../../css/webamp.css"; +import cssText from "../../css/webamp.css"; interface Props { filePickers: FilePicker[];