interface: links should render even when a link is not deleted

This commit is contained in:
Logan Allen 2021-05-06 14:03:12 -05:00
parent ef42544343
commit 4aba08d8fd

View File

@ -27,7 +27,7 @@ export const LinkItem = React.forwardRef((props: LinkItemProps, ref): ReactEleme
...rest
} = props;
if (typeof node.post === 'string' || !note.post) {
if (typeof node.post === 'string' || !node.post) {
return <Redirect to="/~404" />;
}