Skip to content

Commit 43ef43b

Browse files
committed
Little fixes
1 parent 314037d commit 43ef43b

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

common/src/api/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export const API = (_apiTypeCheck = {
358358
props: z.object({
359359
id: z.number(),
360360
}),
361-
summary: 'Delete a compatibility question',
361+
summary: 'Delete a compatibility answer',
362362
tag: 'Compatibility',
363363
},
364364
'like-profile': {

web/components/answers/compatibility-questions-display.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ export function CompatibilityAnswerBlock(props: {
447447
1
448448
).map(([label]) => label).map((label, i) => (
449449
<button
450+
key={label}
450451
onClick={() => {
451452
const _answer = getEmptyAnswer(user.id, question.id)
452453
_answer.multiple_choice = i

web/components/layout/tabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ export function ControlledTabs(props: TabProps & { activeIndex: number }) {
167167
)}
168168
<Row className={'items-center'}>
169169
<Col>
170-
{tab.title.split('\n').map((line, _i) => (
171-
<Row className={'items-center justify-center'}>{line}</Row>
170+
{tab.title.split('\n').map((line, i) => (
171+
<Row className={'items-center justify-center'} key={i}>{line}</Row>
172172
))}
173173
</Col>
174174
{tab.inlineTabIcon}

0 commit comments

Comments
 (0)