Skip to content

Commit bc880b9

Browse files
committed
Fix auto execute feature
1 parent 6093161 commit bc880b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function useFHIRPathUI() {
7676
}, []);
7777

7878
useEffect(() => {
79-
if (initialRun && resource && expression) {
79+
if (initialRun && resource && expression && getUrlParams('url') && getUrlParams('expression')) {
8080
handleExecute(resource, expression);
8181
setInitialRun(false);
8282
}

0 commit comments

Comments
 (0)