diff --git a/app/javascript/packs/fluent_log.js b/app/javascript/packs/fluent_log.js
index <HASH>..<HASH> 100644
--- a/app/javascript/packs/fluent_log.js
+++ b/app/javascript/packs/fluent_log.js
@@ -10,7 +10,7 @@ $(document).ready(()=> {
       "processing": false
     },
 
-    compiled: function(){
+    mounted: function(){
       this.fetchLogs();
 
       var self = this;
Use mounted instead of compiled

Because compiled is removed.