Skip to content

Commit dc6a06d

Browse files
committed
Update AccessCodeForm.tsx
1 parent 14c81db commit dc6a06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/ui/AccessCodeForm/AccessCodeForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function Content({
172172
? t.codeLengthRequirement(codeLengthRequirement)
173173
: null
174174

175-
const hasCodeInputs = accessCode?.type !== 'time_bound'
175+
const hasCodeInputs = accessCode?.is_offline_access_code !== true
176176

177177
return (
178178
<>

0 commit comments

Comments
 (0)