From 721ab2d3668ddfc03059d1c5005ad92d21ea50b0 Mon Sep 17 00:00:00 2001 From: Scott Lozano Date: Sat, 14 Dec 2024 22:19:33 +0000 Subject: [PATCH] Remove hello controller --- app/javascript/controllers/hello_controller.js | 7 ------- app/javascript/controllers/index.js | 3 --- 2 files changed, 10 deletions(-) delete mode 100644 app/javascript/controllers/hello_controller.js diff --git a/app/javascript/controllers/hello_controller.js b/app/javascript/controllers/hello_controller.js deleted file mode 100644 index 5975c07..0000000 --- a/app/javascript/controllers/hello_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -import { Controller } from "@hotwired/stimulus" - -export default class extends Controller { - connect() { - this.element.textContent = "Hello World!" - } -} diff --git a/app/javascript/controllers/index.js b/app/javascript/controllers/index.js index b096351..c2b5bc3 100644 --- a/app/javascript/controllers/index.js +++ b/app/javascript/controllers/index.js @@ -16,9 +16,6 @@ application.register("crypto", CryptoController) import FlashController from "./flash_controller" application.register("flash", FlashController) -import HelloController from "./hello_controller" -application.register("hello", HelloController) - import NftsController from "./nfts_controller" application.register("nfts", NftsController)