Merged in feat/SW-3163-remove-openinghours-name (pull request #2735)
feat(SW-3163): update opening hours schema name/nameEnglish * feat(SW-3163): remove name * fix(SW-3163): update schemas Approved-by: Erik Tiekstra
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { logger } from '@scandic-hotels/common/logger'
|
||||
|
||||
import type { IntlShape } from 'react-intl'
|
||||
import { OpeningHours } from './openingHoursTypes'
|
||||
import type { OpeningHours, AlternateOpeningHours } from './openingHoursTypes'
|
||||
|
||||
export function getGroupedOpeningHours(
|
||||
openingHours: OpeningHours,
|
||||
openingHours: OpeningHours | AlternateOpeningHours,
|
||||
intl: IntlShape
|
||||
): string[] {
|
||||
const closedMsg = intl.formatMessage({
|
||||
|
||||
Reference in New Issue
Block a user