Refactor to remove unneeded const
This commit is contained in:
parent
d6c9952a8c
commit
cc0c07851e
1 changed files with 1 additions and 2 deletions
|
@ -59,6 +59,7 @@ export interface IStatus {
|
|||
const Status: React.FC<IStatus> = (props) => {
|
||||
const {
|
||||
status,
|
||||
accountAction,
|
||||
avatarSize = 42,
|
||||
focusable = true,
|
||||
hoverable = true,
|
||||
|
@ -310,8 +311,6 @@ const Status: React.FC<IStatus> = (props) => {
|
|||
react: handleHotkeyReact,
|
||||
};
|
||||
|
||||
const accountAction = props.accountAction;
|
||||
|
||||
const isUnderReview = actualStatus.visibility === 'self';
|
||||
const isSensitive = actualStatus.hidden;
|
||||
|
||||
|
|
Loading…
Reference in a new issue