Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AbanoubGhadban committed Dec 24, 2024
1 parent 90fb29d commit 7133c56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node_package/src/ReactOnRails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ ctx.ReactOnRails = {
/**
* Used by rsc payload generation by Rails
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
serverRenderRSCReactComponent(_): Readable {
serverRenderRSCReactComponent(): Readable {
throw new Error('serverRenderRSCReactComponent is supported in RSC bundle only.');
},

Expand Down

0 comments on commit 7133c56

Please sign in to comment.