[Glitch] Replace Rails UJS library

Port 0d2e9522ff to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo
2025-11-27 14:10:55 +01:00
committed by Claire
parent 99ff59b7b2
commit 17379b73f7
2 changed files with 90 additions and 6 deletions

View File

@@ -1,9 +1,5 @@
import Rails from '@rails/ujs';
import { setupLinkListeners } from './utils/links';
export function start() {
try {
Rails.start();
} catch {
// If called twice
}
setupLinkListeners();
}