Skip to content

Commit

Permalink
Update button type to kind in TableButton and HeaderButton components
Browse files Browse the repository at this point in the history
  • Loading branch information
iacopolea committed Feb 22, 2024
1 parent aac43ce commit b295d98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/BugsList/Table/TableButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const TableButton = ({
href={href}
style={style}
size="sm"
type="primary"
kind="primary"
flat={true}
>
{children}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/BugsList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const BugsList = () => {
<HeaderButton
as="a"
href={`/wp-admin/admin.php?page=mvc_campaigns`}
type="secondary"
kind="secondary"
className="aq-mr-2"
>
{"<"} To Campaign List
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Prospect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Prospect = () => {
<HeaderButton
as="a"
href={`/wp-admin/admin.php?page=cp-prospect&id=${id}`}
type="secondary"
kind="secondary"
className="aq-mr-2"
>
{"<"} Go to old Prospect
Expand Down
2 changes: 1 addition & 1 deletion src/pages/agreements/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const FlexContainer = styled.div`
`;

const HeaderButton = (props: Parameters<typeof Button>[0]) => {
return <Button {...props} size="md" type="secondary" />;
return <Button {...props} size="md" kind="secondary" />;
};

const AgreementsListPageContent = ({ children }: { children: ReactNode }) => {
Expand Down

0 comments on commit b295d98

Please sign in to comment.