Use isValidRecord
This commit is contained in:
@@ -77,7 +77,7 @@ export function QrCodeDialog({
|
|||||||
} else {
|
} else {
|
||||||
setIsProcessing(true)
|
setIsProcessing(true)
|
||||||
|
|
||||||
if (!AppBskyGraphStarterpack.isRecord(starterPack.record)) {
|
if (!AppBskyGraphStarterpack.isValidRecord(starterPack.record)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user