Skip to content

Commit c23388b

Browse files
committed
fix: hide next button + try to fix fullLoading issue
1 parent ffbbac8 commit c23388b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pwa/components/autoDiagnostic/AutoDiagTunnelBikeSelection.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const AutoDiagTunnelBikeSelection = (): JSX.Element => {
151151
</FormControl>
152152
</Box>
153153
)}
154-
{!loading && bikeSelected !== 'other_bike' && (
154+
{!loading && bikeSelected !== null && bikeSelected !== 'other_bike' && (
155155
<Box>
156156
<Button
157157
variant="contained"

pwa/components/rendez-vous/PinMap.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const PinMap = ({
139139
value={street}
140140
options={streetList.filter(
141141
(address) =>
142-
address.postcode.slice(0, 2) === city.postcode &&
142+
address.postcode.slice(0, 2) === city.postcode?.slice(0, 2) &&
143143
address.city === city.name
144144
)}
145145
getOptionLabel={(streetObject) =>

pwa/pages/reparateur/[id]/creneaux.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import WebsiteLayout from '@components/layout/WebsiteLayout';
1313
import SlotsStep from '@components/rendez-vous/SlotsStep';
1414
const PinMap = dynamic(() => import('@components/rendez-vous/PinMap'), {
1515
ssr: false,
16-
loading: () => <FullLoading />,
16+
// loading: () => <FullLoading />,
1717
});
1818
import {Repairer} from '@interfaces/Repairer';
1919
import {isCyclist} from '@helpers/rolesHelpers';

0 commit comments

Comments
 (0)