File tree Expand file tree Collapse file tree 4 files changed +8968
-20
lines changed Expand file tree Collapse file tree 4 files changed +8968
-20
lines changed Original file line number Diff line number Diff line change 11import  {  Meta ,  StoryObj  }  from  '@storybook/react' ; 
22import  {  FasterCarsFromBehind  }  from  './FasterCarsFromBehind' ; 
33import  {  TelemetryDecorator  }  from  '../../../../.storybook/telemetryDecorator' ; 
4- import  {  DynamicTelemetrySelector  }  from  '../Standings/DynamicTelemetrySelector' ; 
5- import  {  useState  }  from  'react' ; 
64
75export  default  { 
86  component : FasterCarsFromBehind , 
@@ -16,21 +14,5 @@ export default {
1614type  Story  =  StoryObj < typeof  FasterCarsFromBehind > ; 
1715
1816export  const  Primary : Story  =  { 
19-   decorators : [ TelemetryDecorator ( ) ] , 
17+   decorators : [ TelemetryDecorator ( '/test-data/1747384033336' ) ] , 
2018} ; 
21- 
22- export  const  DynamicTelemetry : Story  =  { 
23-   decorators : [ ( Story ,  context )  =>  { 
24-     const  [ selectedPath ,  setSelectedPath ]  =  useState ( '/test-data/1745291694179' ) ; 
25-     
26-     return  ( 
27-       < > 
28-         < DynamicTelemetrySelector 
29-           onPathChange = { setSelectedPath } 
30-           initialPath = { selectedPath } 
31-         /> 
32-         { TelemetryDecorator ( selectedPath ) ( Story ,  context ) } 
33-       </ > 
34-     ) ; 
35-   } ] , 
36- } ; 
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const Primary: Story = {
2626
2727export  const  DynamicTelemetry : Story  =  { 
2828  decorators : [ ( Story ,  context )  =>  { 
29-     const  [ selectedPath ,  setSelectedPath ]  =  useState ( '/test-data/1745291694179 ' ) ; 
29+     const  [ selectedPath ,  setSelectedPath ]  =  useState ( '/test-data/1747384273173 ' ) ; 
3030
3131    return  ( 
3232      < > 
@@ -59,3 +59,7 @@ export const GT3Practice: Story = {
5959export  const  PCCPacing : Story  =  { 
6060  decorators : [ TelemetryDecorator ( '/test-data/1735296198162' ) ] , 
6161} ; 
62+ 
63+ export  const  MultiClass : Story  =  { 
64+   decorators : [ TelemetryDecorator ( '/test-data/1747384033336' ) ] , 
65+ } ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments