Little fixes

This commit is contained in:
MartinBraquet
2025-11-13 20:38:16 +01:00
parent 314037dd06
commit 43ef43ba72
3 changed files with 4 additions and 3 deletions

View File

@@ -358,7 +358,7 @@ export const API = (_apiTypeCheck = {
props: z.object({
id: z.number(),
}),
summary: 'Delete a compatibility question',
summary: 'Delete a compatibility answer',
tag: 'Compatibility',
},
'like-profile': {

View File

@@ -447,6 +447,7 @@ export function CompatibilityAnswerBlock(props: {
1
).map(([label]) => label).map((label, i) => (
<button
key={label}
onClick={() => {
const _answer = getEmptyAnswer(user.id, question.id)
_answer.multiple_choice = i

View File

@@ -167,8 +167,8 @@ export function ControlledTabs(props: TabProps & { activeIndex: number }) {
)}
<Row className={'items-center'}>
<Col>
{tab.title.split('\n').map((line, _i) => (
<Row className={'items-center justify-center'}>{line}</Row>
{tab.title.split('\n').map((line, i) => (
<Row className={'items-center justify-center'} key={i}>{line}</Row>
))}
</Col>
{tab.inlineTabIcon}