Skip to content

Commit 872c4fa

Browse files
author
Georgi2704
committed
Remove redundant var
1 parent 79672a8 commit 872c4fa

File tree

1 file changed

+2
-2
lines changed
  • frontend/packages/pydantic-forms/src/components/form

1 file changed

+2
-2
lines changed

frontend/packages/pydantic-forms/src/components/form/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Footer = ({
2626
onClick={() => onPrevious?.()}
2727
style={{
2828
padding: '12px',
29-
backgroundColor: buttons?.previous?.color,
29+
backgroundColor: previous?.color,
3030
}}
3131
>
3232
{previous?.text ?? t('previous')}
@@ -48,7 +48,7 @@ const Footer = ({
4848
const SubmitButton = () => (
4949
<button
5050
type="submit"
51-
style={{ padding: '12px', backgroundColor: buttons?.next?.color }}
51+
style={{ padding: '12px', backgroundColor: next?.color }}
5252
>
5353
{next?.text ?? submitButtonLabel}
5454
</button>

0 commit comments

Comments
 (0)