From be35fe468b5093fb7395e176a0d8361a45f2529b Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Fri, 6 Jun 2025 21:03:35 +0900
Subject: refactor(frontend): refactor tips

---
 packages/frontend/src/pages/settings/other.vue | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'packages/frontend/src/pages/settings/other.vue')

diff --git a/packages/frontend/src/pages/settings/other.vue b/packages/frontend/src/pages/settings/other.vue
index f729903a88..ac432e9f32 100644
--- a/packages/frontend/src/pages/settings/other.vue
+++ b/packages/frontend/src/pages/settings/other.vue
@@ -161,8 +161,7 @@ import { prefer } from '@/preferences.js';
 import MkRolePreview from '@/components/MkRolePreview.vue';
 import { signout } from '@/signout.js';
 import { migrateOldSettings } from '@/pref-migrate.js';
-import { store } from '@/store.js';
-import { hideAllTips as _hideAllTips } from '@/store.js';
+import { hideAllTips as _hideAllTips, resetAllTips as _resetAllTips } from '@/tips.js';
 
 const $i = ensureSignin();
 
@@ -206,7 +205,7 @@ function migrate() {
 }
 
 function resetAllTips() {
-	store.set('tips', {});
+	_resetAllTips();
 	os.success();
 }
 
-- 
cgit v1.2.3-freya

