mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-04 06:51:45 -04:00
Little fixes
This commit is contained in:
@@ -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': {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user