Skip to content

Commit 77a73f6

Browse files
committed
refactor: simplify useRecentSearches state management by removing mounted flag and moving initialization to useEffect
1 parent 84ff015 commit 77a73f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/svg/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { BadgeParams, ContributionCalendar, StreakStats, MonthlyStats } fro
44
import { getLabels, type BadgeLabels } from '../i18n/badgeLabels';
55
import { AUTO_THEME_DARK, AUTO_THEME_LIGHT } from './themes';
66
import { TOWER_ANIMATION_CSS } from './animations';
7-
import { computeTowers, projectIsometric, type TowerData } from './layout';
7+
import { computeTowers, type TowerData } from './layout';
88
import { sanitizeFont, sanitizeHexColor, sanitizeRadius, sanitizeGoogleFontUrl } from './sanitizer';
99

1010
import { SVG_WIDTH, SVG_HEIGHT, FONT_MAP, isFontKey } from './generatorConstants';

0 commit comments

Comments
 (0)