Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): apply diamond architecture to the credits page #823

Merged
merged 27 commits into from
Oct 16, 2023
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b1b2bc2
feat: apply diamond to home page
bojan07 Oct 2, 2023
dd22fa0
fix: added debug option to refreshPrices function
bojan07 Oct 3, 2023
b2bbdca
fix: make code clean in use-prices
bojan07 Oct 3, 2023
510e7a2
Merge branch 'ubiquity:development' into development
bojan07 Oct 3, 2023
8da767d
feat: used protocol-contracts in use-balances and use-named-contracts
bojan07 Oct 3, 2023
b3a3856
feat: applied protocol-contracts to child components of staking page
bojan07 Oct 3, 2023
5e1a071
fix: fixed build error and made code clean in use-balances
bojan07 Oct 3, 2023
f5ac79b
fix: used non-null assertion operator for object null checking
bojan07 Oct 4, 2023
18ee556
fix: added metapool and governancemarket contract to protocol-contrac…
bojan07 Oct 4, 2023
9ad50ee
chore: cleamake use-protocol-contracts clean
bojan07 Oct 4, 2023
1ce1d35
fix: applied new name convention
bojan07 Oct 5, 2023
57bc6e1
fix: object null checking
bojan07 Oct 5, 2023
6972f9c
fix: cleaned refresh balance function
bojan07 Oct 5, 2023
61ee7f7
fix: hardcoded some addresses and fixed prefetch-constants function
bojan07 Oct 6, 2023
eb6e495
fix: checking big number zero value
bojan07 Oct 6, 2023
88c1b46
fix: non-null assertion operator and infinite hook loop
bojan07 Oct 10, 2023
8edb930
Merge branch 'ubiquity:development' into development
bojan07 Oct 10, 2023
9e07817
fix: contract type in allowance functions
bojan07 Oct 10, 2023
de99518
Merge branch 'ubiquity:development' into development
bojan07 Oct 12, 2023
e7dc29f
fix: passed hardcoded addresses as variable
bojan07 Oct 12, 2023
c086a17
fix: updated variable names according to new name convention
bojan07 Oct 12, 2023
cd4ce71
fix: match contract type according to diamond architecture
bojan07 Oct 12, 2023
80cacf2
Merge branch 'ubiquity:development' into development
bojan07 Oct 13, 2023
89cb8f4
Merge branch 'ubiquity:development' into development
bojan07 Oct 13, 2023
d4e4185
fix: removed protocolcontracts in dependencies to avoid infinite loop
bojan07 Oct 16, 2023
1ee66c6
Merge branch 'ubiquity:development' into development
bojan07 Oct 16, 2023
e074e88
Merge branch 'development' into feat/credits
bojan07 Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/dapp/components/lib/hooks/use-balances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const BalancesContextProvider: React.FC<ChildrenShim> = ({ children }) =>

useEffect(() => {
refreshBalances();
}, [walletAddress, protocolContracts]);
}, [walletAddress]);

return <BalancesContext.Provider value={[balances, refreshBalances]}>{children}</BalancesContext.Provider>;
};
Expand Down
Loading