Skip to content

Commit ef47d36

Browse files
committed
style: update Button components in AppForm to use 'p' as the component type
1 parent 07c6eea commit ef47d36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/dashboard/utils/subscription-page-builder/ui/components/app-form/app-form.component.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export const AppForm = (props: AppFormProps) => {
149149
{localApp.additionalBeforeAddSubscriptionStep && (
150150
<Button
151151
color="red"
152+
component="p"
152153
leftSection={<PiMinus size="1.25rem" />}
153154
ml={'xs'}
154155
onClick={() =>
@@ -164,6 +165,7 @@ export const AppForm = (props: AppFormProps) => {
164165
)}
165166
{!localApp.additionalBeforeAddSubscriptionStep && (
166167
<Button
168+
component="p"
167169
leftSection={<PiPlus size="1.25rem" />}
168170
ml={'xs'}
169171
onClick={() =>
@@ -250,6 +252,7 @@ export const AppForm = (props: AppFormProps) => {
250252
{localApp.additionalAfterAddSubscriptionStep && (
251253
<Button
252254
color="red"
255+
component="p"
253256
leftSection={<PiMinus size="1.25rem" />}
254257
ml={'xs'}
255258
onClick={() =>
@@ -265,6 +268,7 @@ export const AppForm = (props: AppFormProps) => {
265268
)}
266269
{!localApp.additionalAfterAddSubscriptionStep && (
267270
<Button
271+
component="p"
268272
leftSection={<PiPlus size="1.25rem" />}
269273
ml={'xs'}
270274
onClick={() =>

0 commit comments

Comments
 (0)