diff --git a/public/index.html b/public/index.html index 6fe8f2b..2217f6d 100644 --- a/public/index.html +++ b/public/index.html @@ -42,4 +42,5 @@ To create a production bundle, use `npm run build` or `yarn build`. --> + diff --git a/src/common/constants/constants.ts b/src/common/constants/constants.ts index 13af4ec..4074999 100644 --- a/src/common/constants/constants.ts +++ b/src/common/constants/constants.ts @@ -3,9 +3,11 @@ export const PAGES_PATHS = { SIGN_UP: '/signup', HOME: '/', RESET_PASS: '/reset-password', + SEARCH: '/search', + FAVORITES: '/favorites', } -export const ButtonLables = { +export const ButtonLabels = { approve: 'Approve', delete: 'Delete', edit: 'Edit', @@ -17,3 +19,5 @@ export const HttpMethods = { PUT: 'put', DELETE: 'delete', } + +export const AUTH_PAGES = [PAGES_PATHS.LOG_IN, PAGES_PATHS.SIGN_UP, PAGES_PATHS.RESET_PASS] diff --git a/src/features/showroom/components/showroom-property-thumbnail/showroom-property-thumbnail.tsx b/src/features/showroom/components/showroom-property-thumbnail/showroom-property-thumbnail.tsx index b135047..9a76746 100644 --- a/src/features/showroom/components/showroom-property-thumbnail/showroom-property-thumbnail.tsx +++ b/src/features/showroom/components/showroom-property-thumbnail/showroom-property-thumbnail.tsx @@ -2,7 +2,7 @@ import { FC } from 'react' import classnames from 'classnames/bind' import { Button } from 'primereact/button' -import { ButtonLables } from 'common/constants/constants' +import { ButtonLabels } from 'common/constants/constants' import { UtilService } from 'common/services/util-service' import { ShowroomUtilService } from 'features/showroom/services/showroom-util-service' @@ -50,21 +50,21 @@ export const ShowroomPropertyThumbnail: FC = ({ thumbnail, type, role })
{thumbnail.status === 'pending' && role !== 'client' && (