File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ const routeTree = rootRoute.addChildren([
5555] ) ;
5656const router = createRouter ( { routeTree } ) ;
5757
58- // Initialize PostHog if configured
5958const config = AppConfig ( ) ;
6059if ( config . posthog . apiKey && config . posthog . host ) {
6160 posthog . init ( config . posthog . apiKey , {
Original file line number Diff line number Diff line change @@ -87,12 +87,10 @@ export function ExamplesDropdown({
8787 < AlertDialogAction
8888 onClick = { ( ) => {
8989 if ( selectedExample ) {
90- if ( config . posthog . apiKey && config . posthog . host ) {
91- posthog . capture ( "schema_selected" , {
92- schema_id : selectedExample . id ,
93- schema_title : selectedExample . title ,
94- } ) ;
95- }
90+ posthog . capture ( "schema_selected" , {
91+ schema_id : selectedExample . id ,
92+ schema_title : selectedExample . title ,
93+ } ) ;
9694 loadExample ( selectedExample ) ;
9795 }
9896 } }
You can’t perform that action at this time.
0 commit comments