Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
a-limyr committed Sep 9, 2024
1 parent 0acd126 commit d46b612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions client/src/components/ItineraryList/ItineraryLegDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
title={leg.fromPlace.quay?.id}
target={'_blank'}
rel={'noreferrer'}
href={
graphiQLUrl + '&query=' + formattedQuayQuery + '&variables=' + formattedFromPlaceID
}
href={graphiQLUrl + '&query=' + formattedQuayQuery + '&variables=' + formattedFromPlaceID}
>
{leg.fromPlace.name}
</a>{' '}
Expand Down
5 changes: 1 addition & 4 deletions client/src/components/SearchBar/GraphiQLRouteButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ function GraphiQLRouteButton({ tripQueryVariables }: { tripQueryVariables: TripQ

return (
<div className="search-bar-route-button-wrapper">
<Button
href={graphiQLUrl + '&query=' + formattedQuery + '&variables=' + formattedVariables}
target={'_blank'}
>
<Button href={graphiQLUrl + '&query=' + formattedQuery + '&variables=' + formattedVariables} target={'_blank'}>
GraphQL
</Button>
</div>
Expand Down

0 comments on commit d46b612

Please sign in to comment.