@dfosco/storyboard-react 4.2.0-alpha.10 → 4.2.0-alpha.11

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dfosco/storyboard-react",
3
- "version": "4.2.0-alpha.10",
3
+ "version": "4.2.0-alpha.11",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@base-ui/react": "^1.4.0",
7
- "@dfosco/storyboard-core": "4.2.0-alpha.10",
8
- "@dfosco/tiny-canvas": "4.2.0-alpha.10",
7
+ "@dfosco/storyboard-core": "4.2.0-alpha.11",
8
+ "@dfosco/tiny-canvas": "4.2.0-alpha.11",
9
9
  "@neodrag/react": "^2.3.1",
10
10
  "glob": "^11.0.0",
11
11
  "jsonc-parser": "^3.3.1",
@@ -100,7 +100,7 @@ export function useCanvas(canvasId) {
100
100
  useEffect(() => {
101
101
  if (!import.meta.hot || !buildTimeCanvas) return
102
102
 
103
- const handleCanvasFileChanged = ({ data }) => {
103
+ const handleCanvasFileChanged = (data) => {
104
104
  const eventId = data?.canvasId || data?.name
105
105
  if (!data || eventId !== canvasId) return
106
106
  // Use metadata from the HMR event directly if available (faster)