|
@@ -12,13 +12,13 @@ const DownloadSection = () => {
|
|
|
useEffect(() => {
|
|
|
const isCloseDownload = sessionStorage.getItem("isCloseDownload");
|
|
|
if (isWebView() || isCloseDownload) {
|
|
|
- setVisible(false);
|
|
|
+ setVisible(true);
|
|
|
}
|
|
|
}, []);
|
|
|
|
|
|
const closeDownloadSection = () => {
|
|
|
sessionStorage.setItem("isCloseDownload", "true");
|
|
|
- setVisible(false);
|
|
|
+ setVisible(true);
|
|
|
};
|
|
|
|
|
|
if (visible) return null;
|