diff options
Diffstat (limited to 'test/snippets/spread_with_key.tsx')
-rw-r--r-- | test/snippets/spread_with_key.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/snippets/spread_with_key.tsx b/test/snippets/spread_with_key.tsx index d9f842d27..2dc0c7072 100644 --- a/test/snippets/spread_with_key.tsx +++ b/test/snippets/spread_with_key.tsx @@ -4,12 +4,7 @@ import React from "react"; export function SpreadWithTheKey({ className }: Props) { const rest = {}; return ( - <div - className={className} - key="spread-with-the-key" - {...rest} - onClick={() => console.log("click")} - > + <div className={className} key="spread-with-the-key" {...rest} onClick={() => console.log("click")}> Rendered component containing warning </div> ); |