diff --git a/src/Tools/_framework/Paths/PortfolioActivitySettings.jsx b/src/Tools/_framework/Paths/PortfolioActivitySettings.jsx index e966477065..4d54c2b594 100644 --- a/src/Tools/_framework/Paths/PortfolioActivitySettings.jsx +++ b/src/Tools/_framework/Paths/PortfolioActivitySettings.jsx @@ -8,6 +8,8 @@ import { useDropzone } from 'react-dropzone'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faFileImage } from '@fortawesome/free-solid-svg-icons'; import { Box, Image } from '@chakra-ui/react'; +import { useSetRecoilState } from 'recoil'; +import { pageToolViewAtom } from '../NewToolRoot'; export async function action({ request, params }) { @@ -137,6 +139,8 @@ export function PortfolioActivitySettings(){ let data = useLoaderData(); const navigate = useNavigate(); let numberOfFilesUploading = useRef(0); + const setPageToolView = useSetRecoilState(pageToolViewAtom); + let [imagePath,setImagePath] = useState(data.imagePath); @@ -217,7 +221,7 @@ export function PortfolioActivitySettings(){