Skip to content

Commit 6913bb6

Browse files
committed
fix code smell
1 parent 167a8ad commit 6913bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cart/cart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class Cart {
4747
}
4848
});
4949

50-
return result || null;
50+
return result ?? null;
5151
}
5252

5353
public add(item: ICartInput): void {

0 commit comments

Comments
 (0)