fix: removing unused variable

This commit is contained in:
Reinaldy Rafli 2021-06-21 12:08:18 +07:00
parent 2e2cce0cb4
commit 0af37fd3ae
1 changed files with 11 additions and 7 deletions

View File

@ -10,7 +10,11 @@
</h1> </h1>
</div> </div>
<div class="flex-initial md:pl-4"> <div class="flex-initial md:pl-4">
<img :src="image.me" alt="My Memoji" class="w-full md:w-2/3 h-auto md:py-4"> <img
:src="image.me"
alt="My Memoji"
class="w-full md:w-2/3 h-auto md:py-4"
>
</div> </div>
</div> </div>
@ -89,8 +93,8 @@ export default {
repositories: [], repositories: [],
repoRequest: false, repoRequest: false,
image: { image: {
me: 'me.png' me: 'me.png',
} },
}; };
}, },
async mounted() { async mounted() {
@ -104,15 +108,15 @@ export default {
targets: '.repository', targets: '.repository',
opacity: [ opacity: [
{value: 0, duration: 500, delay: 500}, {value: 0, duration: 500, delay: 500},
{value: 100, duration: 2500} {value: 100, duration: 2500},
], ],
translateY: [ translateY: [
{value: 1000, duration: 500, delay: 800}, {value: 1000, duration: 500, delay: 800},
{value: 0, duration: 2500} {value: 0, duration: 2500},
], ],
delay: this.$anime.stagger(300, {start: 0, from: 'first', easing: 'spring'}), delay: this.$anime.stagger(300, {start: 0, from: 'first', easing: 'spring'}),
}); });
} catch (error) { } catch {
this.repoRequest = false; this.repoRequest = false;
} }
}, },