fix unused variable warning
All checks were successful
Beta CI/CD Pipeline / build-and-test (push) Successful in 25s
Beta CI/CD Pipeline / deploy-beta (push) Successful in 7s

This commit is contained in:
vickytechkey 2026-08-09 11:00:46 +05:30
parent 393fdfddd5
commit ef9d48020a

View file

@ -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 && (