Skip to content

Commit

Permalink
Update SearchBar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerGery committed Feb 12, 2024
1 parent 1587e54 commit 744dc76
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, {
useCallback, useContext, useEffect, useRef, useState,
} from 'react';
import {
Alert,
Animated, View,
} from 'react-native';
import styled from 'styled-components';
Expand Down Expand Up @@ -126,6 +127,7 @@ const SearchBar = ({

const loadMultiSpSetting = async () => {
const multiSpSetting = await getSettingByKey(SETTINGS_KEYS.MULTI_SP);
Alert.alert('MULTI_SP', JSON.stringify(multiSpSetting,null,2));

Check failure on line 130 in examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/AddressSelector/SearchBar.js

View workflow job for this annotation

GitHub Actions / lint

A space is required after ','

Check failure on line 130 in examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/AddressSelector/SearchBar.js

View workflow job for this annotation

GitHub Actions / lint

A space is required after ','
if (multiSpSetting && multiSpSetting.enabled) {
setMultiSpAmount(multiSpSetting.amount);
}
Expand Down

0 comments on commit 744dc76

Please sign in to comment.