File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const SnippetList = () => {
3737 < motion . ul role = "list" className = "snippets" >
3838 < AnimatePresence mode = "popLayout" >
3939 { fetchedSnippets . map ( ( snippet , idx ) => {
40- const uniqueId = `${ snippet . title } -${ snippet . description } ` ;
40+ const uniqueId = `${ language . lang } -${ snippet . title } ` ;
4141 return (
4242 < motion . li
4343 key = { uniqueId }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const SnippetModal: React.FC<Props> = ({
4949 key = "modal-content"
5050 className = "modal | flow"
5151 data-flow-space = "lg"
52- layoutId = { `${ snippet . title } -${ snippet . description } ` }
52+ layoutId = { `${ language } -${ snippet . title } ` }
5353 transition = { { type : "spring" , duration : shouldReduceMotion ? 0 : 0.5 } }
5454 >
5555 < div className = "modal__header" >
You can’t perform that action at this time.
0 commit comments