Skip to content

Commit

Permalink
add soundcloud to embed viewer, refs #250
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiemann96 committed Jul 4, 2023
1 parent 6a86f18 commit a1767bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function Markers({ markers, onClick, onChange }: Props) {
{markers.map((m, i) => (
<Marker
{...m}
key={(i + 1) * Math.random() * 100}
key={i}
onClick={() => onClick(m)}
onDragEnd={onChange}
style={{
Expand Down
1 change: 1 addition & 0 deletions src/components/Viewer/ContentTypes/ContentTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export function ContentType({ content }: Props) {
'WIKIPEDIA',
'PADLET',
'SPOTIFY',
'SOUNDCLOUD',
].includes(content.type) && (
<EmbedContent content={content}></EmbedContent>
)}
Expand Down

0 comments on commit a1767bb

Please sign in to comment.