Remove redundant method

This commit is contained in:
Oliver-Akins 2020-10-05 22:54:14 -06:00
parent 267395efe9
commit 778ccaf015

View file

@ -8,7 +8,7 @@
<br>
Game Code:
<code
v-clipboard="copy_game_code"
v-clipboard="game_code"
v-clipboard:success="copy_success"
v-clipboard:error="copy_error"
>
@ -48,9 +48,6 @@ export default {
game_code: this.game_code,
});
},
copy_game_code() {
this.$clipboard(this.game_code);
},
copy_success() {
this.$emit(`alert`, {
message: `Game code copied to your clipboard.`,