fix unused variable warning
This commit is contained in:
parent
393fdfddd5
commit
ef9d48020a
1 changed files with 2 additions and 3 deletions
|
|
@ -63,7 +63,6 @@ export default function App() {
|
||||||
// Step 2: Business details (moved GSTIN here)
|
// Step 2: Business details (moved GSTIN here)
|
||||||
const [gstin, setGstin] = useState('29AAAAA1111A1Z1')
|
const [gstin, setGstin] = useState('29AAAAA1111A1Z1')
|
||||||
const [isGstinVerified, setIsGstinVerified] = useState(false)
|
const [isGstinVerified, setIsGstinVerified] = useState(false)
|
||||||
const [isVerifyingGstin, setIsVerifyingGstin] = useState(false)
|
|
||||||
const [aadharFile, setAadharFile] = useState<string | null>(null)
|
const [aadharFile, setAadharFile] = useState<string | null>(null)
|
||||||
const [panFile, setPanFile] = useState<string | null>(null)
|
const [panFile, setPanFile] = useState<string | null>(null)
|
||||||
|
|
||||||
|
|
@ -867,10 +866,10 @@ export default function App() {
|
||||||
type="button"
|
type="button"
|
||||||
className={`btn ${isGstinVerified ? 'btn-secondary' : 'btn-primary'}`}
|
className={`btn ${isGstinVerified ? 'btn-secondary' : 'btn-primary'}`}
|
||||||
onClick={handleVerifyGstin}
|
onClick={handleVerifyGstin}
|
||||||
disabled={isVerifyingGstin || isGstinVerified}
|
disabled={isGstinVerified}
|
||||||
style={{ minWidth: '120px' }}
|
style={{ minWidth: '120px' }}
|
||||||
>
|
>
|
||||||
{isVerifyingGstin ? 'Verifying...' : isGstinVerified ? 'Verified ✓' : 'Verify GSTIN'}
|
{isGstinVerified ? 'Verified ✓' : 'Verify GSTIN'}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{isGstinVerified && (
|
{isGstinVerified && (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue