React router #343
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
oops oops
Any reason these aren't just css? Any reason these aren't just css?
oops oops
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router-dom'
|
||||
Any reason these aren't just css? Any reason these aren't just css?
oops oops
|
||||
import { Link } from 'react-router-dom';
|
||||
Any reason these aren't just css? Any reason these aren't just css?
oops oops
|
||||
|
||||
const AssetPreview = ({ name, claimId, fileExt, contentType }) => {
|
||||
const directSourceLink = `${claimId}/${name}.${fileExt}`;
|
||||
|
|
|||
Any reason these aren't just css? Any reason these aren't just css?
oops oops
Any reason these aren't just css? Any reason these aren't just css?
oops oops
|
|
@ -57,6 +57,7 @@ class ChannelClaimsDisplay extends React.Component {
|
|||
{this.state.claims.map((claim, index) => <AssetPreview
|
||||
name={claim.name}
|
||||
claimId={claim.claimId}
|
||||
fileExt={claim.fileExt}
|
||||
contentType={claim.contentType}
|
||||
key={index}
|
||||
/>)}
|
||||
|
|
Loading…
Reference in a new issue
Any reason these aren't just css?