Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@typescript-eslint/parser": "^8.45.0",
"@uiw/react-md-editor": "^4.0.8",
"antd": "^5.27.6",
"antd": "^6.0.1",
"firebase": "^12.4.0",
"firebase-admin": "^13.5.0",
"prettier": "^3.6.2",
Expand Down
4 changes: 2 additions & 2 deletions src/components/CalendarComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export const CalendarSection = () => {
e.preventDefault();
navigator.clipboard
.writeText(calendarUrl)
.then(() => { notification.success({ message: "Calendar link copied to clipboard", placement: "bottom" }); })
.catch(() => { notification.error({ message: "Failed to copy calendar link", placement: "bottom" }); });
.then(() => { notification.success({ title: "Calendar link copied to clipboard", placement: "bottom" }); })
.catch(() => { notification.error({ title: "Failed to copy calendar link", placement: "bottom" }); });
}}
>
<CalendarIcon icon={CopyTwoTone} alt="Copy calendar link to clipboard" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/RoleTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function RoleTag({ role }: RoleTagProps) {

if (!(key in Role)) {
notification.error({
message: "Unknown role",
title: "Unknown role",
description: `The role "${role}" is not recognized.`,
});
return null;
Expand Down
2 changes: 1 addition & 1 deletion src/components/UserAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const UserAvatarWithUpload = ({
})
.catch((error) => {
api.error({
message: "Error",
title: "Error",
description:
"Failed to upload profile picture: " + error.message,
placement: "top",
Expand Down
2 changes: 1 addition & 1 deletion src/components/UserPage/ExistingUsersTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const ExistingUsersTab = () => {
})
.catch((error) => {
api.error({
message: "Error",
title: "Error",
description: "Failed to fetch study lines: " + error.message,
placement: "top",
});
Expand Down
2 changes: 1 addition & 1 deletion src/pages/members/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function Profile() {
if (!currentUser) return;
updateUser({ id: currentUser.uid, field: "teamIds", value: teamIds });
notification.success({
message: "Teams updated",
title: "Teams updated",
description: "Your team memberships have been updated.",
placement: "top",
});
Expand Down