formatting

VSCode configuration:

* editor.detectIndentation = false
* editor.indentSize = 2
This commit is contained in:
ekzyis 2023-11-07 09:01:54 +01:00
parent 2af23ff409
commit 0712568273
5 changed files with 49 additions and 47 deletions

View File

@ -5,6 +5,14 @@
</div> </div>
</template> </template>
<script setup>
import { useSession } from './stores/session'
const session = useSession()
session.init()
</script>
<!-- eslint-disable -->
<!-- eslint wants to combine this <script> and <script setup> which breaks the code ... -->
<script> <script>
import NavBar from './components/NavBar' import NavBar from './components/NavBar'
export default { export default {
@ -13,12 +21,6 @@ export default {
} }
</script> </script>
<script setup>
import { useSession } from './stores/session';
const session = useSession()
session.init()
</script>
<style> <style>
html, html,
body { body {

View File

@ -5,8 +5,8 @@
</template> </template>
<script setup> <script setup>
import { ref } from 'vue'; import { ref } from 'vue'
import { useSession } from '@/stores/session'; import { useSession } from '@/stores/session'
let qr = ref(null) let qr = ref(null)
let lnurl = ref(null) let lnurl = ref(null)
@ -19,7 +19,7 @@ await (async () => {
qr = s.qr qr = s.qr
lnurl = s.lnurl lnurl = s.lnurl
} catch (err) { } catch (err) {
console.error("error:", err.reason || err) console.error('error:', err.reason || err)
} }
})() })()
</script> </script>

View File

@ -14,7 +14,7 @@
</template> </template>
<script setup> <script setup>
import LoginQRCode from './LoginQRCode.vue'; import LoginQRCode from './LoginQRCode.vue'
</script> </script>
<style scoped> <style scoped>