mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-18 10:45:48 +02:00
wip
This commit is contained in:
@@ -43,7 +43,7 @@ export default defineComponent({
|
||||
created() {
|
||||
this.text = this.$store.state.settings.memo;
|
||||
|
||||
this.$watch('$store.state.settings.memo', text => {
|
||||
this.$watch(() => this.$store.state.settings.memo, text => {
|
||||
this.text = text;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@ export default defineComponent({
|
||||
mounted() {
|
||||
this.fetch();
|
||||
this.clock = setInterval(this.fetch, 60000);
|
||||
this.$watch('props.url', this.fetch);
|
||||
this.$watch(() => this.props.url, this.fetch);
|
||||
},
|
||||
beforeDestroy() {
|
||||
clearInterval(this.clock);
|
||||
|
||||
Reference in New Issue
Block a user