chore: Apply linting fixes
This commit is contained in:
committed by
mrugesh mohapatra
parent
a63b84e748
commit
8e0237d042
@@ -1,14 +1,9 @@
|
||||
import React from 'react';
|
||||
import styleSheets from './styleSheets';
|
||||
|
||||
const preloads = styleSheets.map((styleSheet, i) => (
|
||||
<React.Fragment>
|
||||
<link
|
||||
as='style'
|
||||
href={styleSheet.props.href}
|
||||
key={`preload-${i}`}
|
||||
rel='preload'
|
||||
/>
|
||||
const preloads = styleSheets.map(styleSheet => (
|
||||
<React.Fragment key={`preload-${styleSheet.props.href}`}>
|
||||
<link as='style' href={styleSheet.props.href} rel='preload' />
|
||||
{styleSheet}
|
||||
</React.Fragment>
|
||||
));
|
||||
|
Reference in New Issue
Block a user