Skip to content

Commit

Permalink
Restyled by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Apr 2, 2024
1 parent 30a9743 commit 5bac26e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const TrainAutoComplete = ({ station, setStation }) => {
const { loading, errorInfo, results } = useAutoCompleteAPI(
`/rail/v2/station?q=${encodeURI(query)}`,
'train',
query
query,
);
// Import handleKeyDown function from customHook (used by all modes)
const { handleKeyDown } = useHandleAutoCompleteKeys(resultsList, debounceInput, results);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const TramAutoComplete = ({ stop, setStop }) => {
const { loading, errorInfo, results } = useAutoCompleteAPI(
`/metro/v2/stop?q=${encodeURI(query)}`,
'tram',
query
query,
);
// Import handleKeyDown function from customHook (used by all modes)
const { handleKeyDown } = useHandleAutoCompleteKeys(resultsList, debounceInput, results);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/StepQuietHours/StepQuietHours.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const StepQuietHours = () => {
// Add InsetText with extra info when selected option is "no"
let extraInfo;
const selectedOption = document.querySelector(
'input.wmnds-fe-radios__input[name="EmailAlert"]:checked'
'input.wmnds-fe-radios__input[name="EmailAlert"]:checked',
);
if (selectedOption && selectedOption.value === 'no') {
extraInfo = (
Expand Down

0 comments on commit 5bac26e

Please sign in to comment.