From 7f00f75cc560cf9a1d0055b3c62498ebf83c5e23 Mon Sep 17 00:00:00 2001 From: Mauricio Fierro Date: Thu, 14 Mar 2024 14:34:30 -0500 Subject: [PATCH] Fix imports --- app/javascript/controllers/player_controller.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/controllers/player_controller.js b/app/javascript/controllers/player_controller.js index bab311a..d386354 100644 --- a/app/javascript/controllers/player_controller.js +++ b/app/javascript/controllers/player_controller.js @@ -1,9 +1,9 @@ "use strict"; import { Controller } from "@hotwired/stimulus"; -import YoutubePlayer from "./player/youtube_player"; -import { PlayingState, ReadyState, EditingState, PickingPointState } from "./player/state"; -import LoopManager from "./player/loop_manager" +import { PlayingState, ReadyState, EditingState, PickingPointState } from "controllers/player/state"; +import LoopManager from "controllers/player/loop_manager" +import YoutubePlayer from "controllers/player/youtube_player"; /** Controller for the YouTube player custom functionality */ export default class extends Controller { diff --git a/package.json b/package.json index e812cad..ff26c35 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ ], "moduleDirectories": [ "node_modules", - "app/javascript/controllers" + "app/javascript/" ], "testEnvironment": "jsdom", "silent": true