mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 17:05:55 +02:00
refactor
This commit is contained in:
@@ -87,7 +87,7 @@ router.useListener('change', ({ resolved }) => {
|
||||
const fullPath = router.getCurrentFullPath();
|
||||
|
||||
if (tabs.value.some(tab => tab.routePath === routePath && deepEqual(resolved.props, tab.props))) {
|
||||
const newTabs = [];
|
||||
const newTabs = [] as typeof tabs.value;
|
||||
for (const tab of tabs.value) {
|
||||
newTabs.push(tab);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user