Skip to content

Commit

Permalink
Use shorter description in alert
Browse files Browse the repository at this point in the history
  • Loading branch information
YayunHuang committed Aug 30, 2024
1 parent 01f3765 commit 612dbea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pages/download/_downloadPythonPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ function handlePartialSuccess(failedImages) {
<ul>
${failedImages.map((failedImage) => `<li>${failedImage}</li>`).join("")}
</ul>
<div>If the issue persists, please report it on GitHub 🙏 <br>
<a href='https://github.com/oursky/mockuphone.com/issues'>https://github.com/oursky/mockuphone.com/issues</a></div>
<div>If the issue persists, please report it on <a href='https://github.com/oursky/mockuphone.com/issues'>Github</a></div>
`;

showToast({
Expand All @@ -63,8 +62,7 @@ function handlePartialSuccess(failedImages) {

function handleNoGeneratedMockup() {
const description = `
<div>Try a different image/device. <br> If the issue persists, please report it on GitHub 🙏 <br>
<a href='https://github.com/oursky/mockuphone.com/issues'>https://github.com/oursky/mockuphone.com/issues</a></div>
<div>Try a different image/device. <br> If the issue persists, please report it on <a href='https://github.com/oursky/mockuphone.com/issues'>Github</a></div>
`;
showToast({
title: "No generated mockup",
Expand Down

0 comments on commit 612dbea

Please sign in to comment.