mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
commentItem: fix background on actions
This commit is contained in:
parent
ea5dc47eca
commit
a059f85952
@ -54,7 +54,7 @@ export function CommentItem(props: CommentItemProps): ReactElement {
|
||||
if (window.ship == post?.author && !disabled) {
|
||||
adminLinks.push(
|
||||
<Link to={{ pathname: props.baseUrl, search: `?edit=${commentIndex}`}}>
|
||||
<Action>
|
||||
<Action bg="white">
|
||||
Update
|
||||
</Action>
|
||||
</Link>
|
||||
@ -63,7 +63,7 @@ export function CommentItem(props: CommentItemProps): ReactElement {
|
||||
|
||||
if ((window.ship == post?.author || ourRole == "admin") && !disabled) {
|
||||
adminLinks.push(
|
||||
<Action onClick={onDelete} destructive>
|
||||
<Action bg="white" onClick={onDelete} destructive>
|
||||
Delete
|
||||
</Action>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user