We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9cb7b commit 1410018Copy full SHA for 1410018
libs/base-ui/contexts/Analytics.tsx
@@ -19,7 +19,7 @@ export const AnalyticsContext = createContext<AnalyticsContextProps>({
19
export function useAnalytics() {
20
const context = useContext(AnalyticsContext);
21
if (context === undefined) {
22
- throw new Error('useAnalytics must be used within a AnalyticsProvider');
+ throw new Error('useAnalytics must be used within an AnalyticsProvider');
23
}
24
return context;
25
0 commit comments