Skip to content

Commit 1410018

Browse files
authored
Update Analytics.tsx (base#1644)
1 parent aa9cb7b commit 1410018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/base-ui/contexts/Analytics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const AnalyticsContext = createContext<AnalyticsContextProps>({
1919
export function useAnalytics() {
2020
const context = useContext(AnalyticsContext);
2121
if (context === undefined) {
22-
throw new Error('useAnalytics must be used within a AnalyticsProvider');
22+
throw new Error('useAnalytics must be used within an AnalyticsProvider');
2323
}
2424
return context;
2525
}

0 commit comments

Comments
 (0)