mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
Merge pull request #1059 from occupytheweb/1058_fix__instruction_not_displayed
1058: Fix display of task instruction
This commit is contained in:
@@ -49,9 +49,9 @@ export const CreateTask = ({
|
||||
</>
|
||||
<>
|
||||
<Stack spacing="4">
|
||||
{!!i18n.exists(`task.${taskType.id}.instruction`) && (
|
||||
{!!i18n.exists(`tasks:${taskType.id}.instruction`) && (
|
||||
<Text fontSize="xl" fontWeight="bold" color={titleColor}>
|
||||
{t(getTypeSafei18nKey(`${taskType.id}.instruction`))}
|
||||
{t(getTypeSafei18nKey(`tasks:${taskType.id}.instruction`))}
|
||||
</Text>
|
||||
)}
|
||||
<TrackedTextarea
|
||||
|
||||
Reference in New Issue
Block a user