mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 00:33:50 +02:00
refactor store
This commit is contained in:
@@ -9,10 +9,10 @@ import { formatDateFilter, openExternalLink } from '../../shared/utils';
|
||||
import { i18n } from '../../plugin';
|
||||
import {
|
||||
useInstanceStore,
|
||||
useUiStore,
|
||||
useUserStore,
|
||||
useWorldStore
|
||||
useUiStore
|
||||
} from '../../stores';
|
||||
import { lookupUser } from '../../coordinators/userCoordinator';
|
||||
import { showWorldDialog } from '../../coordinators/worldCoordinator';
|
||||
|
||||
const { t } = i18n.global;
|
||||
|
||||
@@ -24,8 +24,9 @@ const UNACTIONABLE_TYPES = new Set([
|
||||
]);
|
||||
|
||||
export const createColumns = ({ getCreatedAt, onDelete, onDeletePrompt }) => {
|
||||
const { showWorldDialog } = useWorldStore();
|
||||
const { lookupUser } = useUserStore();
|
||||
|
||||
|
||||
|
||||
const { showPreviousInstancesInfoDialog } = useInstanceStore();
|
||||
const { shiftHeld } = storeToRefs(useUiStore());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user