Commit 6419a303 by Torkel Ödegaard

Fixed react key warning for loki start page

parent b5bc6925
...@@ -26,7 +26,7 @@ export default (props: any) => ( ...@@ -26,7 +26,7 @@ export default (props: any) => (
<div> <div>
<h2>Loki Cheat Sheet</h2> <h2>Loki Cheat Sheet</h2>
{CHEAT_SHEET_ITEMS.map(item => ( {CHEAT_SHEET_ITEMS.map(item => (
<div className="cheat-sheet-item" key={item.expression}> <div className="cheat-sheet-item" key={item.title}>
<div className="cheat-sheet-item__title">{item.title}</div> <div className="cheat-sheet-item__title">{item.title}</div>
{item.expression && ( {item.expression && (
<div <div
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment