Skip to content

Commit

Permalink
fix error datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
karenyov committed Apr 12, 2023
1 parent d5ba43a commit 8ec3dd1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props extends ButtonProps {
color?: string;
}

export default function Button({ title, color = "secondary", ...rest }: Props) {
export default function Button({ title, color = "primary", ...rest }: Props) {
return (
<>
<ButtonBase variant={color} {...rest}>{title}</ButtonBase>
Expand Down
1 change: 0 additions & 1 deletion src/components/tables/HistoryAllByRegisterTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
XAxis,
YAxis,
CartesianGrid,
Tooltip,
Legend,
ResponsiveContainer,
BarChart,
Expand Down
1 change: 1 addition & 0 deletions src/pages/debt/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ export default function Debt() {
size="sm"
rightIcon={<FiPlus />}
colorScheme="blue"
color="secondary"
onClick={handleUpdateEditOthers}
title="Adicionar Outros Valores"
isLoading={isSubmittingEditOthers}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/components/buttonStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ButtonStyles = defineStyleConfig({
}),

secondary: (props) => ({
bg: mode("secondary.600", "secondary.600")(props),
bg: mode("primary.600", "secondary.600")(props),
color: mode("white", "white")(props),
_hover: {
bg: "secondary.400",
Expand Down

0 comments on commit 8ec3dd1

Please sign in to comment.