diff --git a/components/app/Header.vue b/components/app/Header.vue
index b0ab208c3..de51ee9e8 100644
--- a/components/app/Header.vue
+++ b/components/app/Header.vue
@@ -51,11 +51,18 @@
diff --git a/components/button/Primary.vue b/components/button/Primary.vue
index 7f150e675..7b1d38345 100644
--- a/components/button/Primary.vue
+++ b/components/button/Primary.vue
@@ -73,10 +73,11 @@
-
diff --git a/components/button/Secondary.vue b/components/button/Secondary.vue
index b2c780142..67bc81825 100644
--- a/components/button/Secondary.vue
+++ b/components/button/Secondary.vue
@@ -68,10 +68,11 @@
-
diff --git a/components/collections/ChooseType.vue b/components/collections/ChooseType.vue
index 860d56b77..7380c8764 100644
--- a/components/collections/ChooseType.vue
+++ b/components/collections/ChooseType.vue
@@ -54,25 +54,27 @@
-
diff --git a/components/collections/ImportExport.vue b/components/collections/ImportExport.vue
index 74c710a50..5425fc9bd 100644
--- a/components/collections/ImportExport.vue
+++ b/components/collections/ImportExport.vue
@@ -166,19 +166,27 @@
diff --git a/components/collections/graphql/ImportExport.vue b/components/collections/graphql/ImportExport.vue
index 8ca0e513d..a296b8466 100644
--- a/components/collections/graphql/ImportExport.vue
+++ b/components/collections/graphql/ImportExport.vue
@@ -91,21 +91,23 @@
diff --git a/components/collections/graphql/index.vue b/components/collections/graphql/index.vue
index ab1cabe15..4f76df9c0 100644
--- a/components/collections/graphql/index.vue
+++ b/components/collections/graphql/index.vue
@@ -122,9 +122,12 @@
diff --git a/components/collections/index.vue b/components/collections/index.vue
index 4b8b524fe..f4c29a1d3 100644
--- a/components/collections/index.vue
+++ b/components/collections/index.vue
@@ -173,6 +173,7 @@
diff --git a/components/environments/ImportExport.vue b/components/environments/ImportExport.vue
index 867123103..3ba142bfb 100644
--- a/components/environments/ImportExport.vue
+++ b/components/environments/ImportExport.vue
@@ -91,21 +91,23 @@
diff --git a/components/environments/index.vue b/components/environments/index.vue
index b02dcc6c3..cca1e9133 100644
--- a/components/environments/index.vue
+++ b/components/environments/index.vue
@@ -93,48 +93,49 @@
-
diff --git a/components/firebase/Login.vue b/components/firebase/Login.vue
index 55afe7120..3ab71e7d2 100644
--- a/components/firebase/Login.vue
+++ b/components/firebase/Login.vue
@@ -130,11 +130,19 @@ import {
signInWithEmail,
} from "~/helpers/fb/auth"
import { setLocalConfig } from "~/newstore/localpersistence"
+import { useStreamSubscriber } from "~/helpers/utils/composables"
export default {
props: {
show: Boolean,
},
+ setup() {
+ const { subscribeToStream } = useStreamSubscriber()
+
+ return {
+ subscribeToStream,
+ }
+ },
data() {
return {
form: {
@@ -149,7 +157,7 @@ export default {
}
},
mounted() {
- this.$subscribeTo(currentUser$, (user) => {
+ this.subscribeToStream(currentUser$, (user) => {
if (user) this.hideModal()
})
},
diff --git a/components/history/index.vue b/components/history/index.vue
index 3df0a0c07..772a7c8ed 100644
--- a/components/history/index.vue
+++ b/components/history/index.vue
@@ -85,7 +85,9 @@
-
diff --git a/components/http/Headers.vue b/components/http/Headers.vue
index 8c68793f7..6e193b71c 100644
--- a/components/http/Headers.vue
+++ b/components/http/Headers.vue
@@ -159,7 +159,8 @@
-
diff --git a/components/http/Parameters.vue b/components/http/Parameters.vue
index c5420b769..3c91320e4 100644
--- a/components/http/Parameters.vue
+++ b/components/http/Parameters.vue
@@ -180,7 +180,10 @@
-
diff --git a/components/http/Response.vue b/components/http/Response.vue
index 40b09f3a2..537304159 100644
--- a/components/http/Response.vue
+++ b/components/http/Response.vue
@@ -5,19 +5,23 @@
-
diff --git a/components/smart/AccentModePicker.vue b/components/smart/AccentModePicker.vue
index dfc326179..542945e3b 100644
--- a/components/smart/AccentModePicker.vue
+++ b/components/smart/AccentModePicker.vue
@@ -23,25 +23,19 @@
diff --git a/layouts/default.vue b/layouts/default.vue
index 6aa8bbe79..67b450d57 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -36,7 +36,12 @@