Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/landing-page/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function Navbar() {
return (
<nav
ref={navbarRef}
className='sticky top-0 z-50 -mt-11 max-h-[88px] bg-[#030303A3] backdrop-blur-[12px]'
className='sticky top-0 z-50 max-h-[88px] bg-[#030303A3] backdrop-blur-[12px]'
>
<div className='mx-auto max-w-[1440px] px-5 py-5 md:px-[50px] lg:px-[100px]'>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
CreateCrowdfundingProjectRequest,
PrepareCrowdfundingProjectResponse,
} from '@/lib/api/types';
import { useWalletSigning } from '@/hooks/use-wallet';
import { useWalletInfo, useWalletSigning } from '@/hooks/use-wallet';
import { useWalletProtection } from '@/hooks/use-wallet-protection';

type StepHandle = { validate: () => boolean; markSubmitted?: () => void };
Expand Down Expand Up @@ -56,6 +56,8 @@ const CreateProjectModal = ({ open, setOpen }: CreateProjectModalProps) => {
'form' | 'preparing' | 'signing' | 'confirming' | 'success'
>('form');

const { address } = useWalletInfo() || { address: '' };

// Form data state
const [formData, setFormData] = useState<ProjectFormData>({
basic: {},
Expand Down Expand Up @@ -236,7 +238,7 @@ const CreateProjectModal = ({ open, setOpen }: CreateProjectModalProps) => {
backup: contact.backupContact || '',
},
socialLinks: apiSocialLinks,
signer: 'GD4NCQMLAU5Z7HIMNGMKLSFLCA46AILVIB6FJZ7QEJXANFNGBHFR24H6',
signer: address,
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ export function ProjectSidebarActions({
</BoundlessButton>
)}

{projectStatus === 'Funding' ||
(projectStatus === 'live' && (
{projectStatus === 'funding' ||
projectStatus === 'Validated' ||
projectStatus === 'campaigning' || (
<BoundlessButton
onClick={handleFundClick}
className='flex h-12 flex-1 items-center justify-center gap-2 rounded-lg bg-[#A7F950] text-base font-semibold text-black shadow-lg transition-all duration-200 hover:bg-[#A7F950] hover:shadow-xl'
Expand All @@ -75,7 +76,7 @@ export function ProjectSidebarActions({
>
<span className=''>Back Project</span>
</BoundlessButton>
))}
)}

{projectStatus === 'Completed' && (
<BoundlessButton
Expand Down
Loading