commit: f0f323b49c40ac48fe175afcffe69b633eb362a3
parent cc2519b312aa4d94cf8875196d79d89fa75a82b2
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Wed, 17 Jul 2024 22:48:45 +0000
Merge branch 'speling' into 'develop'
Fix spelling errors
See merge request pleroma/pleroma-fe!1921
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/screen_reader_notice/screen_reader_notice.js b/src/components/screen_reader_notice/screen_reader_notice.js
@@ -2,7 +2,7 @@ const ScreenReaderNotice = {
props: {
ariaLive: {
type: String,
- defualt: 'assertive'
+ default: 'assertive'
}
},
data () {
diff --git a/src/services/sw/sw.js b/src/services/sw/sw.js
@@ -36,9 +36,9 @@ function subscribePush (registration, isEnabled, vapidPublicKey) {
function unsubscribePush (registration) {
return registration.pushManager.getSubscription()
- .then((subscribtion) => {
- if (subscribtion === null) { return }
- return subscribtion.unsubscribe()
+ .then((subscription) => {
+ if (subscription === null) { return }
+ return subscription.unsubscribe()
})
}