ui(admin): fix egg delete redirect
This commit is contained in:
parent
b125830859
commit
b2d3aed520
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ export default function EggSettingsContainer ({ egg }: { egg: Egg }) {
|
|||
<div css={tw`flex flex-row`}>
|
||||
<EggDeleteButton
|
||||
eggId={egg.id}
|
||||
onDeleted={() => history.push('/admin/eggs')}
|
||||
onDeleted={() => history.push('/admin/nests')}
|
||||
/>
|
||||
<Button type="submit" size="small" css={tw`ml-auto`} disabled={isSubmitting || !isValid}>
|
||||
Save Changes
|
||||
|
|
Loading…
Reference in a new issue