Skip to content

Commit

Permalink
Fix visibilty for pools that don't require tax forms
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Sep 8, 2023
1 parent 8bd38a3 commit d90ae24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Onboarding/TaxInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type TaxInfoProps = {
export const TaxInfo = ({ value, setValue, touched, error }: TaxInfoProps) => {
const { onboardingUser, pool } = useOnboarding<NonNullable<OnboardingUser>>()
const { data: taxInfoData } = useTaxInfo()
const [uploadNewFile, setUploadNewFile] = React.useState(false)
const [uploadNewFile, setUploadNewFile] = React.useState(true)

React.useEffect(() => {
if (!uploadNewFile && taxInfoData) {
Expand Down

0 comments on commit d90ae24

Please sign in to comment.