Skip to content

Commit

Permalink
fix: service_id map
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel0109 committed Apr 9, 2024
1 parent 30897fc commit 7f29e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/getServiceId.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function ServiceIdProvider({ children }) {
baseService.push(todayService)

if (todayService && exceptionService) {
const baseService = todayService[0]?.service_id || 'U_REG'
const baseService = todayService.map(item => item.service_id)
const allServices = exceptionService.concat(baseService)
setServiceId(allServices);

Expand Down

0 comments on commit 7f29e9e

Please sign in to comment.