Skip to content

Commit

Permalink
chore: 🤖 bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
fpbrault committed Aug 28, 2022
1 parent c9861bf commit 136488d
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 97 deletions.
21 changes: 5 additions & 16 deletions components/Rewards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,7 @@ const Rewards: React.FC = () => {
{"Version " + LIB_VERSION + " - What's new:"}
</div>
<ul className="h-full px-4 overflow-auto list-disc max-h-64">
<li>Fixes incorrect price for some assets</li>
<li>
The vote % is now a button that can be clicked to open a graph showing when votes for
this pair will unlock
</li>
<li>Added vote percentage column to better track future rewards</li>
<li>State of future reward toggle kept when reloading page</li>
<li>Added toggle to hide some extra columns</li>
<li>
Added toggle to show only pools that have an investment (only used when a public key
has been entered)
</li>
<li>Fixes pool value calculation for some pairs</li>
</ul>
<div className="modal-action">
<button tabIndex={0} className="btn" onClick={() => handleSetVersion()}>
Expand Down Expand Up @@ -287,7 +276,7 @@ const Rewards: React.FC = () => {
/>

{!publicKey ? (
<div className="o" data-tip="Get Public Key using Albedo Wallet">
<div className="o">
<button
className="btn btn-circle btn-primary"
disabled={!tableInfo}
Expand Down Expand Up @@ -348,7 +337,7 @@ const Rewards: React.FC = () => {

{!publicKey ? (
<div
className="flex flex-col w-full max-w-xs py-2 mx-auto "
className="flex flex-col w-full max-w-xs py-2 mx-auto tooltip"
data-tip="Get Public Key using Albedo Wallet">
<button
className="absolute top-0 right-0 rounded-l-none btn btn-sm btn-primary"
Expand Down Expand Up @@ -569,8 +558,8 @@ const Rewards: React.FC = () => {
!showMyPairs || publicKey.length !== 56
? tableInfo
: tableInfo.filter(
(x: { totalValueInvested: number }) => x.totalValueInvested > 0
)
(x: { totalValueInvested: number }) => x.totalValueInvested > 0
)
}
showDetails={showDetails}
aquaPrice={
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"release": "standard-version"
},
"dependencies": {
"@albedo-link/intent": "^0.11.2",
"@albedo-link/intent": "0.12.0",
"@albedo-link/signature-verification": "^0.1.2",
"apexcharts": "3.35.5",
"color-scales": "^3.0.2",
Expand Down Expand Up @@ -50,8 +50,8 @@
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"git-cz": "4.9.0",
"husky": "7.0.4",
"lint-staged": "12.3.2",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"postcss": "8.4.16",
"prettier": "2.7.1",
"standard-version": "9.5.0",
Expand Down
Loading

0 comments on commit 136488d

Please sign in to comment.