Skip to content
Snippets Groups Projects

fix(submissionWizzard): Admin should not be able to edit metadata for old versions using the link.

Merged Anca Ursachi requested to merge HIN-1242 into develop
All threads resolved!
1 file
+ 6
9
Compare changes
  • Side-by-side
  • Inline
@@ -13,16 +13,9 @@ const NotFound = ({ history }) => (
The page you are looking for might have been removed, had its name
changed, or is temporarily unavailable.
</H3>
<Button
onClick={() => history.push('/')}
primary
style={{
display: 'inline-flex',
alignSelf: 'center',
}}
>
<RedirectButton onClick={() => history.push('/')} primary>
Go to dashboard
</Button>
</RedirectButton>
</Root>
)
@@ -33,6 +26,10 @@ const Root = styled.div`
text-align: center;
width: 90vw;
`
const RedirectButton = styled(Button)`
display: inline-flex;
align-self: center;
`
const H2 = styled.h2`
font-size: ${th('fontSizeHeading2')};
`