gearboxdownloadmodal 4.0.19 → 4.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4969,7 +4969,7 @@ const es = ({
|
|
|
4969
4969
|
color: "white"
|
|
4970
4970
|
},
|
|
4971
4971
|
onClick: async (o) => {
|
|
4972
|
-
o.preventDefault(), o.stopPropagation(), n === "download" ? (await r(), await i()) : n === "copy" && (await t(), await i()), e();
|
|
4972
|
+
o.preventDefault(), o.stopPropagation(), n === "download" ? (await r(), await i()) : n === "copy" && (console.log("deme"), await t(), await i()), e();
|
|
4973
4973
|
},
|
|
4974
4974
|
children: "Yes"
|
|
4975
4975
|
}
|
|
@@ -5115,7 +5115,7 @@ const es = ({
|
|
|
5115
5115
|
b(!1), d(R.response.data.error.msg);
|
|
5116
5116
|
}
|
|
5117
5117
|
}, W = async () => {
|
|
5118
|
-
if (y.iosUrl = f.iosUrl, y.googleUrl = f.googleUrl, await Xn(y, u), c === "Playable") {
|
|
5118
|
+
if (b(!0), y.iosUrl = f.iosUrl, y.googleUrl = f.googleUrl, await Xn(y, u), c === "Playable") {
|
|
5119
5119
|
const g = await It(
|
|
5120
5120
|
u,
|
|
5121
5121
|
s,
|
|
@@ -5131,7 +5131,7 @@ const es = ({
|
|
|
5131
5131
|
{ _id: s, network: i },
|
|
5132
5132
|
u
|
|
5133
5133
|
);
|
|
5134
|
-
return navigator.clipboard.writeText(`${h}/${N == null ? void 0 : N.url}`), $e("Link Coppied"), N == null ? void 0 : N.url;
|
|
5134
|
+
return navigator.clipboard.writeText(`${h}/${N == null ? void 0 : N.url}`), b(!1), $e("Link Coppied"), N == null ? void 0 : N.url;
|
|
5135
5135
|
};
|
|
5136
5136
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5137
5137
|
/* @__PURE__ */ m.jsxs(
|
|
@@ -5329,8 +5329,8 @@ const es = ({
|
|
|
5329
5329
|
es,
|
|
5330
5330
|
{
|
|
5331
5331
|
creditConfirmType: O,
|
|
5332
|
-
handleCopyLink: () => {
|
|
5333
|
-
P(!1), C(!1), W();
|
|
5332
|
+
handleCopyLink: async () => {
|
|
5333
|
+
P(!1), C(!1), await W();
|
|
5334
5334
|
},
|
|
5335
5335
|
download: async () => {
|
|
5336
5336
|
P(!1), C(!1), await p(s, i, void 0, !0, null, !0);
|
|
@@ -5350,8 +5350,8 @@ const es = ({
|
|
|
5350
5350
|
iosLink: f.iosUrl,
|
|
5351
5351
|
googleLink: f.googleUrl,
|
|
5352
5352
|
buttonType: _,
|
|
5353
|
-
handleCopyLink: () => {
|
|
5354
|
-
P(!1), C(!1), W();
|
|
5353
|
+
handleCopyLink: async () => {
|
|
5354
|
+
P(!1), C(!1), await W();
|
|
5355
5355
|
},
|
|
5356
5356
|
download: async () => {
|
|
5357
5357
|
P(!1), C(!1), await p(s, i, void 0, !0, null, !0);
|