Skip to content

Commit

Permalink
Update src/MarkdownTextInput.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Titz <titzmateusz@gmail.com>
  • Loading branch information
tomekzaw and Kicu authored Jan 20, 2025
1 parent 9bd9803 commit 1c27438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MarkdownTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let workletRuntime: WorkletRuntime | undefined;
function getWorkletRuntime(): WorkletRuntime {
if (workletRuntime === undefined) {
throw new Error(
"[react-native-live-markdown] Worklet runtime hasn't been created yet. Please avoid calling `getWorkletRuntime()` in top-level scope. Instead, call `runOnRuntime()` directly in `runOnRuntime` arguments list.",
"[react-native-live-markdown] Worklet runtime hasn't been created yet. Please avoid calling `getWorkletRuntime()` in top-level scope. Instead, call `getWorkletRuntime()` directly in `runOnRuntime` arguments list.",
);
}
return workletRuntime;
Expand Down

0 comments on commit 1c27438

Please sign in to comment.