fix the funny

This commit is contained in:
Daniel Bulant 2022-05-07 17:12:32 +02:00 committed by GitHub
parent 874a84071e
commit 0aacb21101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
let funny = { "amogus": "ඞ", "AMOGUS": "sussy baka", "discord": "proprietary matrix", "never gonna give you up": "never gonna let you down" };
</script>
<h1>Hello {name[funny] || name}</h1>
<h1>Hello {funny[name] || name}</h1>
<input type=text bind:value={name}>