fix: numerous background interval fixes

This commit is contained in:
alexsparkes
2022-10-27 20:24:08 +01:00
parent a4c10bc3b3
commit 0db2502498
3 changed files with 53 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ import { toast } from 'react-toastify';
import './sharemodal.scss';
export default function ShareModal({ modalClose, data }) {
const url = variables.constants.MARKETPLACE_URL + '/share/' + btoa(data.api_name);
const url = variables.constants.MARKETPLACE_URL + '/share/' + (btoa(data.api_name) || '');
const copyLink = () => {
navigator.clipboard.writeText(data);