Skip to content

Commit

Permalink
fix trip-information page bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdisungkar committed May 27, 2024
1 parent d56e2f2 commit 4a498e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/app/frontend/src/pages/TripInformationPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const TripInformation = () => {
<div className="trip-info-container">
<h1>Trip Information</h1>
<div className="trip-details">
{driverInformation == [] && carInformation == [] && TripInformation == [] ?
{driverInformation.name != null ?
<DriverInformationCard
driversName={driverInformation.name}
carRepoNo={carInformation.licence_plate}
Expand Down

0 comments on commit 4a498e1

Please sign in to comment.