-
Notifications
You must be signed in to change notification settings - Fork 94
Organization #326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organization #326
Changes from all commits
28c3fd5
0958765
520594c
a1521a5
f968b88
c2c5d22
b862d17
dbc2807
d0c05ba
ac7c0f9
0fc910c
f594e5d
a6a4f34
f12775b
2a37a09
896e7b4
b605752
38de515
dacf99c
cbab31c
3b6c597
a007977
7104547
61faf7d
61fc5e3
a705b64
1516e17
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ import { | |
| CreateCrowdfundingProjectRequest, | ||
| PrepareCrowdfundingProjectResponse, | ||
| } from '@/lib/api/types'; | ||
| import { useWalletInfo, useWalletSigning } from '@/hooks/use-wallet'; | ||
| import { useWalletSigning } from '@/hooks/use-wallet'; | ||
| import { useWalletProtection } from '@/hooks/use-wallet-protection'; | ||
| import { cn } from '@/lib/utils'; | ||
|
|
||
|
|
@@ -57,8 +57,6 @@ const CreateProjectModal = ({ open, setOpen }: CreateProjectModalProps) => { | |
| 'form' | 'preparing' | 'signing' | 'confirming' | 'success' | ||
| >('form'); | ||
|
|
||
| const { address } = useWalletInfo() || { address: '' }; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revert |
||
|
|
||
| // Form data state | ||
| const [formData, setFormData] = useState<ProjectFormData>({ | ||
| basic: {}, | ||
|
|
@@ -239,7 +237,7 @@ const CreateProjectModal = ({ open, setOpen }: CreateProjectModalProps) => { | |
| backup: contact.backupContact || '', | ||
| }, | ||
| socialLinks: apiSocialLinks, | ||
| signer: address, | ||
| signer: 'GD4NCQMLAU5Z7HIMNGMKLSFLCA46AILVIB6FJZ7QEJXANFNGBHFR24H6', | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dont hard code the wallet
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
||
| }; | ||
| }; | ||
|
|
||
|
|
@@ -705,13 +703,13 @@ const CreateProjectModal = ({ open, setOpen }: CreateProjectModalProps) => { | |
| <div | ||
| ref={contentRef} | ||
| className={cn( | ||
| 'min-h-[calc(55vh)] px-4 transition-opacity duration-100 md:px-[50px] lg:px-[75px] xl:px-[150px]' | ||
| // flowStep === 'confirming' || | ||
| // isSigningTransaction || | ||
| // (flowStep === 'signing' && | ||
| // unsignedTransaction && | ||
| // !isSigningTransaction), | ||
| // 'flex h-full items-center justify-center' | ||
| 'min-h-[calc(55vh)] px-4 transition-opacity duration-100 md:px-[50px] lg:px-[75px] xl:px-[150px]', | ||
| flowStep === 'confirming' || | ||
| isSigningTransaction || | ||
| (flowStep === 'signing' && | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revert |
||
| unsignedTransaction && | ||
| !isSigningTransaction), | ||
| 'flex h-full items-center justify-center' | ||
| )} | ||
| > | ||
| {flowStep !== 'form' ? ( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert