From f14f366b17a8f5707bb7c39099a0ac8191dd0787 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Mon, 15 Apr 2024 13:03:29 +0530 Subject: [PATCH] fix assets pro btn --- src/components/Assets.jsx | 4 ++-- src/components/Pro.jsx | 2 +- src/components/app.jsx | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/Assets.jsx b/src/components/Assets.jsx index b40ab1a..6e34b12 100644 --- a/src/components/Assets.jsx +++ b/src/components/Assets.jsx @@ -9,7 +9,7 @@ import { LoaderWithText } from './Loader'; import { Text } from './Text'; import { Icon } from './Icons'; -const Assets = () => { +const Assets = ({ onProBtnClick }) => { const [files, setFiles] = useState([]); const [isFetchingFiles, setIsFetchingFiles] = useState(false); const [searchTerm, setSearchTerm] = useState(''); @@ -161,7 +161,7 @@ const Assets = () => { return (

Assets feature is available in PRO plan.

-