Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Revert unintended change on EditHistoryMessage.tsx
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed Mar 23, 2023
1 parent b930982 commit 77db44c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/views/messages/EditHistoryMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,9 @@ export default class EditHistoryMessage extends React.PureComponent<IProps, ISta
);
}

const classes = classNames("mx_MessageActionBar", {
"mx_MessageActionBar--developer--not": !SettingsStore.getValue("developerMode"),
});

// disabled remove button when not allowed
return (
<div className={classes}>
<div className="mx_MessageActionBar">
{redactButton}
{viewSourceButton}
</div>
Expand Down

0 comments on commit 77db44c

Please sign in to comment.