interface: publish cursor is now using style

This commit is contained in:
Logan Allen 2021-03-08 16:06:07 -06:00
parent 47abf00de7
commit 5a88f87182

View File

@ -48,11 +48,14 @@ export function NotePreview(props: NotePreviewProps) {
const snippet = getSnippet(body);
const commColor = (props.unreads.graph?.[appPath]?.[`/${noteId}`]?.unreads ?? 0) > 0 ? 'blue' : 'gray';
const cursorStyle = post.pending ? 'default' : 'pointer';
return (
<Box width='100%' opacity={post.pending ? '0.5' : '1'}>
<Link
to={post.pending ? '#' : url}
cursor={post.pending ? 'default' : 'pointer'}>
style={ { cursor: cursorStyle } }>
<Col
lineHeight='tall'
width='100%'