Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix(healthyFrank): change onHover for onMouseOver (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
JAdshead committed Apr 14, 2020
1 parent 663fc0c commit ff3c87d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions __tests__/integration/one-app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ describe('Tests that require Docker setup', () => {
},
],
secretMessage: 'you are being watched',
loadedOnServer: true,
});
});

Expand Down Expand Up @@ -978,6 +979,7 @@ describe('Tests that can run against either local Docker setup or remote One App
data: {
posts: [{ id: 1, title: 'json-server', author: 'typicode' }],
secretMessage: null,
loadedOnServer: false,
},
});
});
Expand All @@ -1000,6 +1002,7 @@ describe('Tests that can run against either local Docker setup or remote One App
data: {
posts: [{ id: 1, title: 'json-server', author: 'typicode' }],
secretMessage: null,
loadedOnServer: false,
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export function HealthyFrank({ children, prefetch }) {
|
<Link
className="prefetch-ssr-frank"
onHover={onPreFetch}
onMouseOver={onPreFetch}
onFocus={onPreFetch}
to="/healthy-frank/ssr-frank"
>
prefetch baby frank
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const loadModuleData = async ({ store, fetchClient }) => {
data: {
posts,
secretMessage,
loadedOnServer: !global.BROWSER,
},
});
};
Expand Down

0 comments on commit ff3c87d

Please sign in to comment.