diff --git a/src/components/Editor/MediaUploader/index.jsx b/src/components/Editor/MediaUploader/index.jsx index d9d857d2..48f5d5ce 100644 --- a/src/components/Editor/MediaUploader/index.jsx +++ b/src/components/Editor/MediaUploader/index.jsx @@ -1,6 +1,7 @@ import React, { useState } from "react"; import { Modal, Tab } from "neetoui"; +import { not } from "ramda"; import { useTranslation } from "react-i18next"; import { isNilOrEmpty } from "utils/common"; @@ -53,8 +54,10 @@ const MediaUploader = ({ mediaUploader, onClose, editor, unsplashApiKey }) => { return (
{!isNilOrEmpty(tabs) && ( @@ -73,9 +76,8 @@ const MediaUploader = ({ mediaUploader, onClose, editor, unsplashApiKey }) => {
{activeTab === "local" && ( )} @@ -90,7 +92,7 @@ const MediaUploader = ({ mediaUploader, onClose, editor, unsplashApiKey }) => { )} {activeTab === "unsplash" && ( )}