File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -853,6 +853,12 @@ export function Proposals({
853853
854854 { loading ?
855855 < ProposalListLoading />
856+ : filteredAndSorted . length === 0 ?
857+ < div className = "section-layout flex flex-col items-center justify-center text-center" >
858+ < p className = "text-neutral-soft-content text-sm" >
859+ There are no proposals matching this filter.
860+ </ p >
861+ </ div >
856862 : filteredAndSorted . map ( ( proposalData ) => (
857863 < Fragment key = { proposalData . proposalNumber } >
858864 < ProposalCard
@@ -922,13 +928,6 @@ export function Proposals({
922928 proposals . length > 0 && (
923929 < >
924930 < div className = "flex justify-end gap-4" >
925- < Button
926- btnStyle = "outline"
927- color = "danger"
928- onClick = { ( ) => setAllocationView ( ( prev ) => ! prev ) }
929- >
930- Cancel
931- </ Button >
932931 < Button
933932 onClick = { submit }
934933 isLoading = { allocateStatus === "loading" }
@@ -940,6 +939,7 @@ export function Proposals({
940939 ) . length
941940 }
942941 tooltip = "Make changes in proposals support first"
942+ tooltipSide = "tooltip-left"
943943 >
944944 Submit your support
945945 </ Button >
You can’t perform that action at this time.
0 commit comments