From e03ae00876b3725f69da53894b4388c43465a1c0 Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Tue, 24 Oct 2023 16:05:54 +0200 Subject: [PATCH] Remove extra files from the `ui/panel` component --- .../components/solidus_admin/ui/panel/component.js | 14 -------------- .../solidus_admin/ui/panel/component.yml | 4 ---- 2 files changed, 18 deletions(-) delete mode 100644 admin/app/components/solidus_admin/ui/panel/component.js delete mode 100644 admin/app/components/solidus_admin/ui/panel/component.yml diff --git a/admin/app/components/solidus_admin/ui/panel/component.js b/admin/app/components/solidus_admin/ui/panel/component.js deleted file mode 100644 index b6e2b996c67..00000000000 --- a/admin/app/components/solidus_admin/ui/panel/component.js +++ /dev/null @@ -1,14 +0,0 @@ -import { Controller } from '@hotwired/stimulus' - -export default class extends Controller { - static targets = ['output'] - - typed(event) { - this.text = event.currentTarget.value - this.render() - } - - render() { - this.outputTarget.innerText = this.text - } -} diff --git a/admin/app/components/solidus_admin/ui/panel/component.yml b/admin/app/components/solidus_admin/ui/panel/component.yml deleted file mode 100644 index 6fcfbdd6df7..00000000000 --- a/admin/app/components/solidus_admin/ui/panel/component.yml +++ /dev/null @@ -1,4 +0,0 @@ -# Add your component translations here. -# Use the translation in the example in your template with `t(".hello")`. -en: - hello: "Hello world!"