From b2d3aed5200d93f32c8ee57709882a9badb72279 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sat, 18 Sep 2021 12:05:19 -0600 Subject: [PATCH] ui(admin): fix egg delete redirect --- .../components/admin/nests/eggs/EggSettingsContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/components/admin/nests/eggs/EggSettingsContainer.tsx b/resources/scripts/components/admin/nests/eggs/EggSettingsContainer.tsx index 38287f04e..f8dc1c365 100644 --- a/resources/scripts/components/admin/nests/eggs/EggSettingsContainer.tsx +++ b/resources/scripts/components/admin/nests/eggs/EggSettingsContainer.tsx @@ -260,7 +260,7 @@ export default function EggSettingsContainer ({ egg }: { egg: Egg }) {
history.push('/admin/eggs')} + onDeleted={() => history.push('/admin/nests')} />