Skip to content

Commit

Permalink
add flow fix missing react-refresh/runtime on www
Browse files Browse the repository at this point in the history
Reviewed By: tyao1

Differential Revision: D43882726

fbshipit-source-id: d5628671b281536bdd666c4d908b28c16ddcd855
  • Loading branch information
alunyov authored and facebook-github-bot committed Mar 8, 2023
1 parent e29d8d4 commit c378143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ describe('useLazyLoadQueryNode-fast-refresh', () => {
});

it('force a refetch in fast refresh', () => {
// $FlowFixMe[cannot-resolve-module] (site=www)
const ReactRefreshRuntime = require('react-refresh/runtime');
ReactRefreshRuntime.injectIntoGlobalHook(global);
const V1 = function (props: {variables: {id: string}}) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ describe('useLazyLoadQueryNode', () => {
});

it('force a refetch in fast refresh', () => {
// $FlowFixMe[cannot-resolve-module] (site=www)
const ReactRefreshRuntime = require('react-refresh/runtime');
ReactRefreshRuntime.injectIntoGlobalHook(global);
let commit;
Expand Down

0 comments on commit c378143

Please sign in to comment.