Skip to content

Commit 21472cd

Browse files
committed
Merge branch 'main' into gh-pages
2 parents 087c51c + a47c3e5 commit 21472cd

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

33

4+
### 2.2.1 (2026-02-13)
5+
6+
* Fix the example package not being loaded by the draggable package element
7+
8+
49
### 2.2.0 (2026-02-13)
510

611
* Add an example package to test the scanner

src/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { useRef, useState } from 'react';
22

33
import { ToastContainer, Zoom } from 'react-toastify';
44

5+
import { buildURL } from '@/lib/path_utils';
6+
57
import { PackagesContext } from '@/contexts';
68

79
import { Separator } from '@/components/ui/separator';
@@ -51,7 +53,7 @@ function App() {
5153
<Header />
5254
<PackageDropzone />
5355
<div className='absolute bottom-0 right-[-1em] -rotate-5 bg-background p-1'>
54-
<DraggablePackage path={staticPaths.examplePackages.tester} />
56+
<DraggablePackage path={buildURL(staticPaths.examplePackages.tester)} />
5557
</div>
5658
</div>
5759

0 commit comments

Comments
 (0)