Skip to content

Commit b98f3e3

Browse files
markgohoclaude
andcommitted
fix: remove useless undefined to satisfy unicorn lint rule
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2b30a45 commit b98f3e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

members/src/app/services/profile.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class ProfileService {
7676
// Resource loads profile only after loadProfile() is called
7777
readonly profileResource = resource({
7878
params: () => {
79-
if (!this.loadRequested()) return undefined;
79+
if (!this.loadRequested()) return;
8080
const user = this.membershipService.userDocument();
8181
// Only load if user has active membership and a slug
8282
return user?.membershipActive && user?.slug ? { slug: user.slug } : undefined;

0 commit comments

Comments
 (0)