Skip to content

Commit

Permalink
Add comment to show where progress bar was last used
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboydiamonds committed Mar 15, 2024
1 parent 40e4aa8 commit 963249d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export const EcotoneForkWarningMessage = () => {
}

/**
* Previously used in this location: https://github.com/synapsecns/sanguine/blob/f068eff5e86ec97e17fc8e703d7203c12fb7f733/packages/synapse-interface/pages/state-managed-bridge/index.tsx#L588
*
* Example of how to use hook:
* import { useEcotoneForkCountdownProgress } = '@/components/Maintenance/Events/EcotoneForkUpgrade'
*
Expand All @@ -90,6 +92,7 @@ export const EcotoneForkWarningMessage = () => {
{EcotoneForkCountdownProgressBar}
</div>
*/

export const useEcotoneForkCountdownProgress = () => {
const { fromChainId, toChainId } = useBridgeState()

Expand Down

0 comments on commit 963249d

Please sign in to comment.