Skip to content

Commit 61579b3

Browse files
committed
account-hooks endpoint adds example screener to account, synced frontend app loading to with account-hooks completion
1 parent 3984c0a commit 61579b3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

builder-frontend/src/components/homeScreen/HomeScreen.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ const HomeScreen = () => {
1111
"screeners",
1212
);
1313

14+
const handleTestHook = () => {
15+
getAccountHooks().then((result) => {
16+
if (result.success) {
17+
console.log(result);
18+
}
19+
});
20+
};
21+
1422
const navbarDefs: Accessor<NavbarProps> = () => {
1523
return {
1624
tabDefs: [
@@ -24,6 +32,11 @@ const HomeScreen = () => {
2432
label: "Eligibility checks",
2533
onClick: () => setScreenMode("checks"),
2634
},
35+
{
36+
key: "testAccountHooks",
37+
label: "Test Account Hooks",
38+
onClick: handleTestHook,
39+
},
2740
],
2841
activeTabKey: () => screenMode(),
2942
titleDef: null,

0 commit comments

Comments
 (0)