mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
Remove unused cable import
This commit is contained in:
parent
a608ff4af8
commit
07d326b5bd
1 changed files with 0 additions and 11 deletions
|
@ -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 };
|
Loading…
Reference in a new issue