Skip to content

Commit

Permalink
Merge pull request #1 from 0xMillz/test_PR_preview
Browse files Browse the repository at this point in the history
change button to create instead of submit
  • Loading branch information
0xMillz authored Nov 7, 2024
2 parents 2a6651a + ca8102d commit 6bdfa20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions apps/web/src/modules/dao/components/Activity/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { useChainStore } from 'src/stores/useChainStore'
import {
delegateBtn,
selectDelegateBtn,
submitProposalBtn,
createProposalBtn,
} from 'src/styles/Proposals.css'
import { sectionWrapperStyle } from 'src/styles/dao.css'
import { AddressType } from 'src/typings'
Expand Down Expand Up @@ -148,20 +148,20 @@ export const Activity: React.FC = () => {
) : null}
{!address ? (
<Button
className={submitProposalBtn}
className={createProposalBtn}
onClick={openConnectModal}
color={'tertiary'}
>
Submit {!isMobile ? 'proposal' : null}
Create {!isMobile ? 'proposal' : null}
</Button>
) : (
<Button
className={submitProposalBtn}
className={createProposalBtn}
onClick={address ? handleProposalCreation : openConnectModal}
disabled={isGovernanceDelayed ? true : address ? !hasThreshold : false}
color={'tertiary'}
>
Submit {!isMobile ? 'proposal' : null}
Create {!isMobile ? 'proposal' : null}
</Button>
)}
</Flex>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/styles/Proposals.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const delegateBtn = style({
},
})

export const submitProposalBtn = style({
export const createProposalBtn = style({
fontSize: '1rem',
fontFamily: 'ptRoot!important',
borderRadius: '12px',
Expand Down

0 comments on commit 6bdfa20

Please sign in to comment.