Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Jul 27, 2024
1 parent f09a073 commit 879f854
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export const SideChain = ({ global, profile, onChainEdit }: SideChainProps) => {

const handleChainClick = useLockFn(async (uid: string) => {
const chains = global
? getProfiles.data?.chain ?? []
: profile?.chains ?? [];
? (getProfiles.data?.chain ?? [])
: (profile?.chains ?? []);

const updatedChains = chains.includes(uid)
? chains.filter((chain) => chain !== uid)
Expand Down

0 comments on commit 879f854

Please sign in to comment.