made errorAlert as default export
This commit is contained in:
parent
d5382f40ca
commit
926a879f63
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import React from "react";
|
|||
import { Alert } from "react-bootstrap";
|
||||
import constants from "utils/strings/constants";
|
||||
|
||||
export function ErrorAlert({ errorCode }) {
|
||||
export default function ErrorAlert({ errorCode }) {
|
||||
let errorMessage;
|
||||
switch (errorCode) {
|
||||
case 402:
|
||||
|
|
|
@ -29,7 +29,7 @@ import {
|
|||
getLocalCollections,
|
||||
} from 'services/collectionService';
|
||||
import constants from 'utils/strings/constants';
|
||||
import { ErrorAlert } from './components/ErrorAlert';
|
||||
import ErrorAlert from './components/ErrorAlert';
|
||||
|
||||
const DATE_CONTAINER_HEIGHT = 45;
|
||||
const IMAGE_CONTAINER_HEIGHT = 200;
|
||||
|
|
Loading…
Add table
Reference in a new issue