Skip to content

Commit

Permalink
Merge pull request #162 from MinaFoundation/feature/funding-rounds-im…
Browse files Browse the repository at this point in the history
…provements

Feature/funding rounds improvements
  • Loading branch information
anarkrypto authored Feb 18, 2025
2 parents 4e79fa1 + 1400b28 commit d74ae84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/app/funding-rounds/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function useFundingRoundsSearchParams() {
const [sortBy, setSortBy] = useQueryState<
GetPublicFundingRoundOptions['sortBy']
>('sortBy', {
defaultValue: 'status',
defaultValue: 'startDate',
parse: value =>
getPublicFundingRoundsOptionsSchema.shape.sortBy.parse(value),
})
Expand Down Expand Up @@ -132,8 +132,6 @@ function FundingRoundsTabs() {

function FundingRoundsControls({ disabled }: { disabled?: boolean }) {
const {
tab,
setTab,
sortBy,
sortOrder,
filterName,
Expand Down
4 changes: 2 additions & 2 deletions src/components/CreateProposal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,14 +401,14 @@ export default function CreateProposal({ mode = 'create', proposalId }: Props) {
<Button
type="button"
variant="outline"
className="bg-gray-600 text-white hover:bg-gray-700"
className="bg-[#2d2d2d] text-white hover:bg-gray-700"
onClick={() => router.push('/proposals')}
>
Cancel
</Button>
<Button
type="submit"
className="bg-gray-600 text-white hover:bg-gray-700"
className="bg-primary text-white hover:bg-gray-700"
disabled={loading}
>
{loading ? <span className="mr-2 animate-spin"></span> : null}
Expand Down

0 comments on commit d74ae84

Please sign in to comment.