Skip to content

Conversation

@JHawk0224
Copy link
Member

Feel free to reject lol

@JHawk0224 JHawk0224 requested a review from AaDalal April 9, 2024 17:34
@JHawk0224 JHawk0224 closed this Apr 9, 2024
@JHawk0224 JHawk0224 deleted the jhawk0224/dock-clear-button branch April 9, 2024 17:36
// }, [isMount, dockedCourses]);

const { remove } = useSWRCrud<DockedCourse>(`/api/degree/docked`, { idKey: 'full_code' });
const handleRemoveCourse = (full_code: string) => {
Copy link
Member

Choose a reason for hiding this comment

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

convention: fullCode

Copy link
Member Author

Choose a reason for hiding this comment

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

Screenshot 2024-04-09 at 3 59 35 PM 👀

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah we've been using full_code. That might not be a good pattern (mb if so), but tbh I think this OK for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Will defer to @esinx here, but if we want to clean this up, we should probably do so at the entire project level and likely after we solve the user facing issues

@AaDalal AaDalal mentioned this pull request Apr 9, 2024
10 tasks
@JHawk0224 JHawk0224 restored the jhawk0224/dock-clear-button branch April 10, 2024 11:37
@JHawk0224 JHawk0224 reopened this Apr 10, 2024
@AaDalal AaDalal requested a review from esinx April 11, 2024 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants