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