refactor(frontend): remove $store
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
<div class="wbrkwalb">
|
||||
<MkLoading v-if="fetching"/>
|
||||
<TransitionGroup v-else tag="div" :name="$store.state.animation ? 'chart' : ''" class="instances">
|
||||
<TransitionGroup v-else tag="div" :name="defaultStore.state.animation ? 'chart' : ''" class="instances">
|
||||
<div v-for="(instance, i) in instances" :key="instance.id" class="instance">
|
||||
<img :src="getInstanceIcon(instance)" alt=""/>
|
||||
<div class="body">
|
||||
@@ -29,6 +29,7 @@ import * as os from '@/os';
|
||||
import { useInterval } from '@/scripts/use-interval';
|
||||
import { i18n } from '@/i18n';
|
||||
import { getProxiedImageUrlNullable } from '@/scripts/media-proxy';
|
||||
import { defaultStore } from '@/store';
|
||||
|
||||
const name = 'federation';
|
||||
|
||||
|
Reference in New Issue
Block a user