frontend
frontend copied to clipboard
Refactoring across the repo
Description
used Deepsource AutofixType of change
Refactored two things:
- refactor: convert logical operator to optional chaining
The optional chaining operator can be used to perform null checks before accessing a property, or calling a function.
- refactor: remove unnecessary boolean casts
In contexts such as an if statement's test where the result of the expression will already be coerced to a Boolean, casting to a Boolean via double negation (!!) or a Boolean call is unnecessary.
My Bootstrap Academy username: SFB
@Defelo was denkst du? (Kein Bock immer Konflikte zu beheben)
@Defelo what do you think? (I don’t feel like always resolving conflicts)
Preview deployed to https://e3a11daa.academy-preview.pages.dev (total size: 11M)
Hi @SpotlightForBugs, are you still working on this?
@Defelo yes, I am