Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export default function Profile() {
const [joinTeamCode, setJoinTeamCode] = useState("");
const [joining, setJoining] = useState(false);

// Check if editing is allowed (until end of Jan 1st, 2026)
const isEditingAllowed = new Date() < new Date('2026-01-02T00:00:00');
// Check if editing is allowed (until Jan 1st, 2026)
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment on line 40 states "until Jan 1st, 2026" but the code now specifies the deadline as January 2nd, 2026 at 09:00:00. The comment should be updated to reflect the new deadline to avoid confusion.

Suggested change
// Check if editing is allowed (until Jan 1st, 2026)
// Check if editing is allowed (until Jan 2nd, 2026 at 09:00:00)

Copilot uses AI. Check for mistakes.
const isEditingAllowed = new Date() < new Date('2026-01-02T09:00:00');

useEffect(() => {
if (user == null || user === undefined) {
Expand Down