refactor(RightClickRestorer): 用状态配置表简化页面 UI 结构
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,8 +8,7 @@ vi.mock('../useRightClickRestorer', () => ({
|
||||
useRightClickRestorer: () => ({
|
||||
domain: 'example.com',
|
||||
isLoading: false,
|
||||
isUnlocked: false,
|
||||
isUnsupported: false,
|
||||
status: 'locked',
|
||||
unlock: mockUnlock,
|
||||
}),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user