summaryrefslogtreecommitdiff
path: root/src/components/Footer.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Footer.vue')
-rw-r--r--src/components/Footer.vue11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/components/Footer.vue b/src/components/Footer.vue
index 076700e..0f3dbfb 100644
--- a/src/components/Footer.vue
+++ b/src/components/Footer.vue
@@ -1,6 +1,6 @@
<template>
<footer class="footer">
- &copy; 2004&ndash;{{ year }} The Mana World
+ &copy; 2004&ndash;{{ (new Date()).getFullYear() }} The Mana World
</footer>
</template>
@@ -11,12 +11,3 @@
padding: 5px;
}
</style>
-
-<script lang="ts">
-import { Options, Vue } from "vue-class-component";
-
-@Options({})
-export default class Copyright extends Vue {
- year = Reflect.construct(Date, []).getFullYear();
-}
-</script>