diff --git a/app/resources/js/components/application.js b/app/resources/js/components/application.js index 8cd83d0..64f94fa 100644 --- a/app/resources/js/components/application.js +++ b/app/resources/js/components/application.js @@ -7,7 +7,7 @@ export default () => ({ this.theme = theme || (window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark'); if (cookie === undefined) { - storeThemeCookie(this.theme); + this.storeThemeCookie(this.theme); } },