mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-11 01:36:37 +08:00
feat(web): polish zone list and settings layout
Show Zone list as a table, align detail back navigation with proxy route detail, and move edit/delete actions into the settings tab.
This commit is contained in:
@@ -14,7 +14,7 @@ vi.mock('next/link', () => ({
|
||||
}));
|
||||
|
||||
vi.mock('next/navigation', () => ({
|
||||
useRouter: () => ({replace: replaceMock}),
|
||||
useRouter: () => ({replace: replaceMock, back: vi.fn()}),
|
||||
usePathname: () => '/websites/42',
|
||||
useSearchParams: () => new URLSearchParams(),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user