Skip to content

Commit

Permalink
Fixed a couple compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLudwig committed Oct 14, 2020
1 parent eddd542 commit bba9777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions websrc/control_test/src/control_test_main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class GrabSpawner extends React.Component< {}, GrabSpawnerState >
} );
}

private renderSpawn( spawn: VisibleSpawn, ref?: ( node: AvStandardGrabbable ) )
private renderSpawn( spawn: VisibleSpawn, ref?: ( node: AvStandardGrabbable ) => void )
{
return <AvStandardGrabbable modelUri={ spawn.uri } key={ spawn.id }
modelScale={ spawn.scale } style={ GrabbableStyle.LocalItem }
Expand All @@ -136,7 +136,7 @@ class GrabSpawner extends React.Component< {}, GrabSpawnerState >

if( this.state.newSpawn )
{
spawns.push( this.renderSpawn( this.state.newSpawn, this.onNewSpawn );
spawns.push( this.renderSpawn( this.state.newSpawn, this.onNewSpawn ) );
}

return <>
Expand Down

0 comments on commit bba9777

Please sign in to comment.