beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

Driver App-My Riders section is showing "null" instead of "0" #1920

Closed omkar-em closed 2 months ago

omkar-em commented 2 months ago

Bug Description

In the Mobility app's driver app, "My Riders" section is showing "null" instead of "0" when there are no riders.

Steps to Reproduce

Open the driver app in the Mobility app. Navigate to the "My Riders" section. Observe the rider count when there are no riders available.

Expected Behavior

The "My Riders" section should display "0" when there are no riders.

Actual Behavior

The "My Riders" section displays "null" when there are no riders.

Figma

(Include Figma link or relevant details here)

Environment

Dev

Screenshots/Logs

Image

rahul-eminds commented 2 months ago

Fixed the issue. Now showing 0 instead of null

Image

emmayank commented 2 months ago

Review Completed, Working fine

Image