11 Commits

Author SHA1 Message Date
Anish Sarkar c77babf39b refactor: replace button elements with Button component for improved consistency and styling across additional UI components 2026-05-14 15:02:46 +05:30
Matt Van Horn 8cf957b301 fix(theme-toggle): use functional setIsDark in toggleTheme (#1247)
Closes #1247.

toggleTheme's previous implementation read isDark from the closure via
setIsDark(!isDark), which forced isDark into the useCallback dependency
array. As a result toggleTheme's reference changed on every click,
invalidating any downstream memoization.

Switched to the functional updater setIsDark((prev) => !prev) and
dropped isDark from the dependency list. The sibling setCrazyLightTheme
and setCrazyDarkTheme callbacks already use this pattern (they pass
concrete values to setIsDark without listing isDark in deps), so this
keeps the three theme callbacks consistent.

No observable behavior change — clicking the theme toggle still flips
isDark. The callback reference is now stable between clicks, which is
also safer under concurrent updates per React's standard guidance.
2026-04-20 01:58:20 -07:00
DESKTOP-RTLN3BA\$punk 64c913baa3 chore: linting 2026-03-27 03:17:05 -07:00
CREDO23 f610e42b9c fix: prevent duplicate notifications and fix inbox count 2026-02-04 16:37:44 +02:00
DESKTOP-RTLN3BA\$punk b6e1741a40 feat: enhance theme toggle component with animation capabilities and SVG generation 2026-02-03 21:51:35 -08:00
DESKTOP-RTLN3BA\$punk e305bc4796 feat: contact to frontpage and biome 2025-09-30 21:53:10 -07:00
DESKTOP-RTLN3BA\$punk 1a3faf03d5 feat: added contact and pricing
- Updated framer motion
2025-09-30 20:27:34 -07:00
Utkarsh-Patel-13 2950573271 Biome: fixes for compontents directory 2025-07-27 10:41:15 -07:00
Utkarsh-Patel-13 758603b275 Initial formatting using biome 2025-07-27 10:05:37 -07:00
Tejas Benibagde b5653d4156 fix(ui): apply pointer cursor to theme toggle and Google sign-up buttons 2025-04-11 05:13:46 +00:00
DESKTOP-RTLN3BA\$punk a1474ca49e feat: monorepo 2025-04-07 23:47:06 -07:00