Remove unused cable import

This commit is contained in:
Liam 2024-03-17 16:13:19 -04:00
parent a608ff4af8
commit 07d326b5bd

View file

@ -1,11 +0,0 @@
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the rails generate channel command.
let cable;
function setupCable() {
if (window.booru.userIsSignedIn) {
cable = ActionCable.createConsumer();
}
}
export { cable, setupCable };