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: React.FC<IStatus> = (props) => {
|
||||||
const {
|
const {
|
||||||
status,
|
status,
|
||||||
|
accountAction,
|
||||||
avatarSize = 42,
|
avatarSize = 42,
|
||||||
focusable = true,
|
focusable = true,
|
||||||
hoverable = true,
|
hoverable = true,
|
||||||
|
@ -310,8 +311,6 @@ const Status: React.FC<IStatus> = (props) => {
|
||||||
react: handleHotkeyReact,
|
react: handleHotkeyReact,
|
||||||
};
|
};
|
||||||
|
|
||||||
const accountAction = props.accountAction;
|
|
||||||
|
|
||||||
const isUnderReview = actualStatus.visibility === 'self';
|
const isUnderReview = actualStatus.visibility === 'self';
|
||||||
const isSensitive = actualStatus.hidden;
|
const isSensitive = actualStatus.hidden;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue