Refactor to remove unneeded const

This commit is contained in:
Chewbacca 2023-01-06 12:05:13 -05:00
parent d6c9952a8c
commit cc0c07851e

View file

@ -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;