Skip to content

Commit f271a07

Browse files
committed
address review
1 parent 4782c5d commit f271a07

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

apps/roam/src/components/settings/DiscourseNodeConfigPanel.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,22 +193,24 @@ const DiscourseNodeConfigPanel: React.FC<DiscourseNodeConfigPanelProps> = ({
193193
/>
194194
</Tooltip>
195195
<Button
196-
children="Confirm"
197196
intent={Intent.DANGER}
198197
onClick={() => {
199198
handleDeleteNodeTypeWithConfirmation(n.type, n.text);
200199
}}
201200
className={`mx-1 ${
202201
deleteConfirmation !== n.type ? "opacity-0" : ""
203202
}`}
204-
/>
203+
>
204+
Confirm
205+
</Button>
205206
<Button
206-
children="Cancel"
207207
onClick={() => setDeleteConfirmation(null)}
208208
className={`mx-1 ${
209209
deleteConfirmation !== n.type ? "opacity-0" : ""
210210
}`}
211-
/>
211+
>
212+
Cancel
213+
</Button>
212214
</td>
213215
</tr>
214216
))}

0 commit comments

Comments
 (0)