File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
governance/xc_admin/packages/xc_admin_frontend/components/tabs Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -790,6 +790,8 @@ const Proposals = () => {
790
790
useEffect ( ( ) => {
791
791
if ( router . query . proposal ) {
792
792
setCurrentProposalPubkey ( router . query . proposal as string )
793
+ } else {
794
+ setCurrentProposalPubkey ( undefined )
793
795
}
794
796
} , [ router . query . proposal ] )
795
797
@@ -828,7 +830,15 @@ const Proposals = () => {
828
830
}
829
831
}
830
832
}
831
- } , [ currentProposalPubkey , multisigProposals , cluster ] )
833
+ } , [
834
+ switchProposalType ,
835
+ priceFeedMultisigProposals ,
836
+ proposalType ,
837
+ upgradeMultisigProposals ,
838
+ currentProposalPubkey ,
839
+ multisigProposals ,
840
+ cluster ,
841
+ ] )
832
842
833
843
useEffect ( ( ) => {
834
844
// filter price feed multisig proposals by status
@@ -857,8 +867,8 @@ const Proposals = () => {
857
867
< div className = "container min-h-[50vh]" >
858
868
{ router . query . proposal === undefined ? (
859
869
< >
860
- < div className = "flex flex-col md:flex-row justify-between " >
861
- < div className = "mb-4 md:mb-0 items-center flex " >
870
+ < div className = "flex flex-col justify-between md:flex-row" >
871
+ < div className = "mb-4 flex items-center md:mb-0 " >
862
872
< ClusterSwitch />
863
873
</ div >
864
874
< div className = "flex space-x-2" >
You can’t perform that action at this time.
0 commit comments