We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4368eca commit 7e49ac0Copy full SHA for 7e49ac0
src/components/OpenWithButton.js
@@ -8,7 +8,7 @@ import * as css from './CopyButton.module.css';
8
const OpenWithButton = ({ text }) => {
9
return (
10
<a
11
- href={`pde://sketch/base64/${btoa(text)}`}
+ href={`pde://sketch/base64/${Buffer.from(text).toString('base64')}`}
12
type="button"
13
className={classnames(css.root)}
14
>
0 commit comments