Skip to content

Commit f635005

Browse files
Update comments for consistency in CreateCollection.jsx
1 parent 9b679c7 commit f635005

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/web-dashboard/src/pages/CreateCollection.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function FieldRow({ field, index, depth, collections, onChange, onRemove }) {
156156
))}
157157
</select>
158158

159-
{/* Required checkbox */}
159+
{/* Required Checkbox */}
160160
<div style={{ width: '24px', flexShrink: 0, display: 'flex', justifyContent: 'center' }}>
161161
<input
162162
type="checkbox"
@@ -172,7 +172,7 @@ function FieldRow({ field, index, depth, collections, onChange, onRemove }) {
172172
/>
173173
</div>
174174

175-
{/* Unique checkbox */}
175+
{/* Unique Checkbox */}
176176
<div style={{ width: '24px', flexShrink: 0, display: 'flex', justifyContent: 'center' }}>
177177
{depth === 1 && PRIMITIVE_TYPES.includes(field.type) ? (
178178
<input
@@ -192,7 +192,7 @@ function FieldRow({ field, index, depth, collections, onChange, onRemove }) {
192192
)}
193193
</div>
194194

195-
{/* Delete button */}
195+
{/* Delete Button */}
196196
<button
197197
type="button"
198198
onClick={() => onRemove(index)}
@@ -210,7 +210,7 @@ function FieldRow({ field, index, depth, collections, onChange, onRemove }) {
210210
</button>
211211
</div>
212212

213-
{/* Ref — collection picker */}
213+
{/* Ref — Collection Picker */}
214214
{field.type === 'Ref' && (
215215
<div style={{ marginLeft: '26px', marginBottom: '8px', display: 'flex', gap: '8px', alignItems: 'center' }}>
216216
<span style={{ fontSize: '0.8rem', color: 'var(--color-text-muted)', whiteSpace: 'nowrap' }}>

0 commit comments

Comments
 (0)