mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
remove unused statements
This commit is contained in:
parent
1ea21a5219
commit
399577bf8d
@ -86,7 +86,6 @@ export default class Account extends React.Component {
|
||||
isSelf: false,
|
||||
isFollowed: false,
|
||||
|
||||
transitionActive: false,
|
||||
tabActiveKey: "posts",
|
||||
|
||||
isNotExistent: false,
|
||||
@ -104,7 +103,6 @@ export default class Account extends React.Component {
|
||||
const query = new URLSearchParams(location.search)
|
||||
|
||||
const requestedUser = this.props.username ?? location.state?.username ?? query.get("username") ?? token?.username
|
||||
const hasAdmin = await User.hasRole("admin")
|
||||
|
||||
let isSelf = false
|
||||
let user = null
|
||||
@ -144,7 +142,6 @@ export default class Account extends React.Component {
|
||||
await this.setState({
|
||||
isSelf,
|
||||
user,
|
||||
hasAdmin,
|
||||
requestedUser,
|
||||
isFollowed,
|
||||
followers,
|
||||
|
Loading…
x
Reference in New Issue
Block a user