Fix AnalyticsSession relative imports so beta build succeeds (#47).
Unit Tests / test (pull_request) Successful in 12s
Unit Tests / test (pull_request) Successful in 12s
Nested component path needed ../../ to contexts and utils; wrong ../ broke build:beta and left beta.hesychia.ai serving an empty docroot (403).
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useContext, useEffect, useRef } from 'react';
|
||||
import { AccountContext } from '../contexts/AccountContext';
|
||||
import { AuthContext } from '../contexts/AuthContext';
|
||||
import { useAnalyticsConsent } from '../contexts/AnalyticsConsentContext';
|
||||
import { AnalyticsEvents, identifyAccount, trackEvent } from '../utils/analytics';
|
||||
import { AccountContext } from '../../contexts/AccountContext';
|
||||
import { AuthContext } from '../../contexts/AuthContext';
|
||||
import { useAnalyticsConsent } from '../../contexts/AnalyticsConsentContext';
|
||||
import { AnalyticsEvents, identifyAccount, trackEvent } from '../../utils/analytics';
|
||||
|
||||
/**
|
||||
* Identify on authenticated session; track Logout when session ends.
|
||||
|
||||
Reference in New Issue
Block a user