Update src/components/AvailabilityStatusLabel/AvailabilityStatusLabel.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
This commit is contained in:
parent
5a9f7cbaa1
commit
b26c7ec6d6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import { useIntl } from "react-intl";
|
||||||
|
|
||||||
import { messages } from "./messages";
|
import { messages } from "./messages";
|
||||||
|
|
||||||
export const AvailabilityStatusLabel = ({ channel, type }) => {
|
export const AvailabilityStatusLabel = ({ channel, type = "" }) => {
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
const localizeDate = useDateLocalize();
|
const localizeDate = useDateLocalize();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue