fix: is_available property name
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
This commit is contained in:
@ -106,7 +106,7 @@ export default function TldDetailClient({ tld, initialData }: Props) {
|
|||||||
try {
|
try {
|
||||||
const domain = checkDomain.includes('.') ? checkDomain : `${checkDomain}.${tld}`
|
const domain = checkDomain.includes('.') ? checkDomain : `${checkDomain}.${tld}`
|
||||||
const result = await api.checkDomain(domain)
|
const result = await api.checkDomain(domain)
|
||||||
setCheckResult({ available: result.available, domain })
|
setCheckResult({ available: result.is_available, domain })
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Domain check failed:', error)
|
console.error('Domain check failed:', error)
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user