Skip to content

Commit fd02ba4

Browse files
committed
Merge remote-tracking branch 'upstream/link'
2 parents c27764e + 69ec455 commit fd02ba4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

sandbox/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Demo WebApp project
22

3+
A live deployment of this demo can be found here: https://digitalbitbox.github.io/bitbox-api-rs/.
4+
35
This folder contains a React project showcasing the TypeScript API. It has the bitbox-api library in
46
`../pkg` as a dependency. See how to build this dependency locally at the [main
57
README](../.github/README.md).

sandbox/src/App.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function App() {
4242
}
4343
};
4444

45-
45+
4646
if (pairingCode !== undefined) {
4747
return (
4848
<div className="container">
@@ -88,6 +88,9 @@ function App() {
8888
<button className="menuButton" onClick={() => connect('bridge')}>Connect using BitBoxBridge</button><br />
8989
<button className="menuButton" onClick={() => connect('auto')}>Choose automatically</button>
9090
{err !== undefined && <ErrorNotification message={err.message} code={err.code} onClose={() => setErr(undefined)} /> }
91+
<p>
92+
This sandbox is using the <a href="https://www.npmjs.com/package/bitbox-api">bitbox-api NPM</a> package.
93+
</p>
9194
</div>
9295
);
9396
}

0 commit comments

Comments
 (0)