Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 182b79c

Browse files
committed
Add helpText to show that basic markdown is supported
1 parent 6585f45 commit 182b79c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/goals/NewComment.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default function NewComment({ updateId }: { updateId: string }) {
7777
placeholder="Give suggestions or ask questions related to the update."
7878
hasError={Boolean(errors.description)}
7979
errorMessage="Comment is required!!!"
80+
helpText="Basic markdown is supported."
8081
onKeyDown={(e) => {
8182
if (e.code === 'Enter' && (e.metaKey || e.ctrlKey)) {
8283
handleSubmit(onSubmit)()

src/components/goals/NewUpdate.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export default function NewUpdate({
9090
placeholder="What did you do today to move towards your goal?"
9191
hasError={Boolean(errors.description)}
9292
errorMessage="Update is required!!!"
93+
helpText="Basic markdown is supported."
9394
onKeyDown={(e) => {
9495
if (e.code === 'Enter' && (e.metaKey || e.ctrlKey)) {
9596
handleSubmit(onSubmit)()

0 commit comments

Comments
 (0)