diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2021-05-10 04:31:46 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2021-05-10 04:31:46 +0300 |
commit | 09b417eb3c6a1aa8552ce45a077956b7cb8934b1 (patch) | |
tree | 5d8298d94721d48ec11d47c4db7a01642f7c0b17 | |
parent | 5c1988cdc289408d33d58897a9f5fffbc8f34d11 (diff) |
Fix 404.js based on prettier warningupdate-404-from-prettier
-rw-r--r-- | content/frontend/404/404.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/frontend/404/404.js b/content/frontend/404/404.js index 279b5829..12955fda 100644 --- a/content/frontend/404/404.js +++ b/content/frontend/404/404.js @@ -2,9 +2,8 @@ import Vue from 'vue'; import ErrorMessage from './components/error_message.vue'; document.addEventListener('DOMContentLoaded', () => { - const { environment, offlineVersions, archivesPath } = document.getElementById( - 'offline-versions', - ).dataset; + const { environment, offlineVersions, archivesPath } = + document.getElementById('offline-versions').dataset; const location = window.location.href; const isOffline = offlineVersions.split(',').find((version) => location.includes(version)); |