Update src/components/AvailabilityStatusLabel/AvailabilityStatusLabel.tsx

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
This commit is contained in:
SektorDV 2021-08-06 10:27:02 +02:00 committed by GitHub
parent 5a9f7cbaa1
commit b26c7ec6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ import { useIntl } from "react-intl";
import { messages } from "./messages";
export const AvailabilityStatusLabel = ({ channel, type }) => {
export const AvailabilityStatusLabel = ({ channel, type = "" }) => {
const intl = useIntl();
const localizeDate = useDateLocalize();