diff --git a/components/app/Header.vue b/components/app/Header.vue
index b0ab208c..de51ee9e 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 7f150e67..7b1d3834 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 b2c78014..67bc8182 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 860d56b7..7380c876 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 74c710a5..5425fc9b 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 8ca0e513..a296b846 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 ab1cabe1..4f76df9c 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 4b8b524f..f4c29a1d 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 86712310..3ba142bf 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 b02dcc6c..cca1e913 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 55afe712..3ab71e7d 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 3df0a0c0..772a7c8e 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 8c68793f..6e193b71 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 c5420b76..3c91320e 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 40b09f3a..53730415 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 dfc32617..542945e3 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 6aa8bbe7..67b450d5 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -36,7 +36,12 @@