From 15a50e02e4b212a5d0885528075e405fa3909ba1 Mon Sep 17 00:00:00 2001 From: thibaud-lclr Date: Sun, 5 Apr 2026 14:22:20 +0200 Subject: [PATCH] chore: remove unused example assets (fixes #2) Delete hello_controller.js and Hello.jsx, which are Symfony/UX boilerplate files not referenced anywhere in the project. Co-Authored-By: Claude Sonnet 4.6 --- assets/controllers/hello_controller.js | 16 ---------------- assets/react/controllers/Hello.jsx | 5 ----- 2 files changed, 21 deletions(-) delete mode 100644 assets/controllers/hello_controller.js delete mode 100644 assets/react/controllers/Hello.jsx diff --git a/assets/controllers/hello_controller.js b/assets/controllers/hello_controller.js deleted file mode 100644 index e847027..0000000 --- a/assets/controllers/hello_controller.js +++ /dev/null @@ -1,16 +0,0 @@ -import { Controller } from '@hotwired/stimulus'; - -/* - * This is an example Stimulus controller! - * - * Any element with a data-controller="hello" attribute will cause - * this controller to be executed. The name "hello" comes from the filename: - * hello_controller.js -> "hello" - * - * Delete this file or adapt it for your use! - */ -export default class extends Controller { - connect() { - this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js'; - } -} diff --git a/assets/react/controllers/Hello.jsx b/assets/react/controllers/Hello.jsx deleted file mode 100644 index 54fe368..0000000 --- a/assets/react/controllers/Hello.jsx +++ /dev/null @@ -1,5 +0,0 @@ -import React from 'react'; - -export default function (props) { - return
Hello {props.fullName}
; -}