@dfosco/storyboard 0.5.0-beta.39 → 0.5.0-beta.40
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
|
@@ -216,6 +216,7 @@ const PromptWidget = forwardRef(function PromptWidget({ id, props, onUpdate, res
|
|
|
216
216
|
e.stopPropagation()
|
|
217
217
|
}, [handleSubmit])
|
|
218
218
|
|
|
219
|
+
// eslint-disable-next-line react-hooks/preserve-manual-memoization
|
|
219
220
|
const handleReset = useCallback(() => {
|
|
220
221
|
setExecStatus('idle')
|
|
221
222
|
setExecError('')
|
|
@@ -293,7 +293,7 @@ export default forwardRef(function TerminalWidget({ id, props, onUpdate, multiSe
|
|
|
293
293
|
// letters). Especially visible on consumer installs where fonts come
|
|
294
294
|
// over the network instead of from cache.
|
|
295
295
|
if (typeof document !== 'undefined' && document.fonts?.ready) {
|
|
296
|
-
try { await document.fonts.ready } catch {}
|
|
296
|
+
try { await document.fonts.ready } catch { /* font load failures are non-fatal */ }
|
|
297
297
|
if (disposed) return
|
|
298
298
|
}
|
|
299
299
|
|