Commit 4262833 1 parent f75ce4d commit 4262833 Copy full SHA for 4262833
File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ open Fetch
14
14
15
15
//// From here: https://github.com/fable-compiler/fable3-samples/blob/25ea2404b28c897988b144f0141bc116da292679/nodejs/src/App.fs#L7
16
16
17
- let importSideEffects () = importSideEffects " isomorphic-fetch"
18
-
19
17
let isNode () =
20
18
emitJsExpr
21
19
()
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ let downloadFile url =
17
17
18
18
if ARCtrl.WebRequestHelpers.NodeJs.isNode() then
19
19
// From here: https://github.com/fable-compiler/fable3-samples/blob/25ea2404b28c897988b144f0141bc116da292679/nodejs/src/App.fs#L7
20
- ARCtrl.WebRequestHelpers.NodeJs .importSideEffects()
20
+ Fable.Core.JsInterop .importSideEffects " isomorphic-fetch "
21
21
ARCtrl.WebRequestHelpers.NodeJs.downloadFile url
22
22
else
23
23
browserAndDotnet()
You can’t perform that action at this time.
0 commit comments