Skip to content

Commit 5a44971

Browse files
committed
refactor: replace old edit-site routing with new UI
1 parent 80ba976 commit 5a44971

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/ListItems.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const mainListItems = (
1919
</ListItemIcon>
2020
<ListItemText primary='Manage users' />
2121
</ListItemButton>
22-
<ListItemButton onClick={() => window.open('/admin/edit-site', '_self')}>
22+
<ListItemButton onClick={() => window.open('/admin/list-sites', '_self')}>
2323
<ListItemIcon>
2424
<EditLocationAltIcon />
2525
</ListItemIcon>
@@ -31,12 +31,7 @@ export const mainListItems = (
3131
</ListItemIcon>
3232
<ListItemText primary='Update Data' />
3333
</ListItemButton>
34-
<ListItemButton onClick={() => window.open('/admin/list-sites', '_self')}>
35-
<ListItemIcon>
36-
<EditIcon />
37-
</ListItemIcon>
38-
<ListItemText primary='New Edit Site' />
39-
</ListItemButton>
34+
4035
</div>
4136
);
4237

0 commit comments

Comments
 (0)