Skip to content

Commit ba16e20

Browse files
Bump daisyui from 4.12.23 to 5.0.9 (#127)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rafael Cenzano <[email protected]>
1 parent e8eb923 commit ba16e20

File tree

10 files changed

+241
-127
lines changed

10 files changed

+241
-127
lines changed

package-lock.json

Lines changed: 29 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@
5656
]
5757
},
5858
"devDependencies": {
59+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
5960
"@eslint/js": "^9.17.0",
6061
"@svgr/webpack": "^6.2.1",
61-
"daisyui": "^4.12.23",
62+
"daisyui": "^5.0.28",
6263
"eslint-config-react-app": "^7.0.1",
6364
"eslint-define-config": "^2.1.0",
6465
"eslint-plugin-react": "^7.37.2",

src/opportunities/components/PopUpMenu.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ export default function PopUpMenu({ setFunction, reset, filters, setFilters }: P
108108
setFunction()
109109
};
110110

111-
console.log("Filters: ", filters);
112-
113111
return (
114112
<section className="relative z-10" aria-labelledby="modal-title" role="dialog" aria-modal="true">
115113
<div className="fixed inset-0 bg-gray-500/75 transition-opacity" aria-hidden="true"></div>

src/opportunities/pages/IndividualPost.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ const IndividualPost = () => {
2626

2727
async function findDetails() {
2828
const data = await fetchOpportunities();
29-
details = data || "Nothing found";
30-
setDetails(details);
29+
setDetails(data || "Nothing found");
3130
}
3231

3332
useEffect(() => {

src/shared/components/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function CheckBox({
5353
{...formHook}
5454
id={item}
5555
className={type === "radio" ? "radio" : "checkbox"}
56-
defaultChecked={name === "semesters" && filters?.semesters?.includes(item) || name === "years" && filters?.years?.includes(item) || name === "credits" && filters?.credits?.includes(item) ? true : false}
56+
defaultChecked={(name === "semesters" && filters?.semesters?.includes(item)) || (name === "years" && filters?.years?.includes(item)) || (name === "credits" && filters?.credits?.includes(item) ? true : false)}
5757
/>
5858
</label>
5959
</div>

src/shared/components/UIElements/LargeTextCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PropTypes from "prop-types";
55
const LargeTextCard = ({ to, title, due, pay, credits }) => {
66
return (
77
<Link to={to} className="no-underline">
8-
<div className="lg-txt-card hover:shadow-md card">
8+
<div className="lg-txt-card card card-compact hover:shadow-md">
99
<div className="card-body">
1010
<h2
1111
className={`${title.length > 100 ? "text-sm" : "text-lg font-bold"

src/staff/components/LargeImageCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PropTypes from "prop-types";
55
const LargeImageCard = ({ to, image, title }) => {
66
return (
77
<Link to={to} className="no-underline">
8-
<div className="lg-img-card card hover:shadow-lg duration-175">
8+
<div className="lg-img-card card card-compact hover:shadow-lg duration-175">
99
<figure>
1010
<img src={image} alt={title} />
1111
</figure>

src/style/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939

4040
.my-logo {
4141
filter: brightness(0) invert(1);
42-
}
42+
}

0 commit comments

Comments
 (0)