Skip to content

Commit 5e43620

Browse files
Reformat
1 parent 6ff5207 commit 5e43620

6 files changed

Lines changed: 36 additions & 48 deletions

File tree

theoplayer/getting-started/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616
import { usePlatforms } from '@site/src/util/platform';
1717

1818
<DocCardList
19-
items={usePlatforms().map((desc) => {
20-
return {
21-
type: 'link',
22-
label: desc.label,
23-
customProps: { icon: desc.icon },
24-
href: desc.gettingStartedDocUrl,
25-
};
26-
})}
19+
items={usePlatforms().map((desc) => ({
20+
type: 'link',
21+
label: desc.label,
22+
customProps: { icon: desc.icon },
23+
href: desc.gettingStartedDocUrl,
24+
}))}
2725
/>

theoplayer_versioned_docs/version-v4/getting-started/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616
import { usePlatforms } from '@site/src/util/platform';
1717

1818
<DocCardList
19-
items={usePlatforms().map((desc) => {
20-
return {
21-
type: 'link',
22-
label: desc.label,
23-
customProps: { icon: desc.icon },
24-
href: desc.gettingStartedDocUrl,
25-
};
26-
})}
19+
items={usePlatforms().map((desc) => ({
20+
type: 'link',
21+
label: desc.label,
22+
customProps: { icon: desc.icon },
23+
href: desc.gettingStartedDocUrl,
24+
}))}
2725
/>

theoplayer_versioned_docs/version-v6/getting-started/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616
import { usePlatforms } from '@site/src/util/platform';
1717

1818
<DocCardList
19-
items={usePlatforms().map((desc) => {
20-
return {
21-
type: 'link',
22-
label: desc.label,
23-
customProps: { icon: desc.icon },
24-
href: desc.gettingStartedDocUrl,
25-
};
26-
})}
19+
items={usePlatforms().map((desc) => ({
20+
type: 'link',
21+
label: desc.label,
22+
customProps: { icon: desc.icon },
23+
href: desc.gettingStartedDocUrl,
24+
}))}
2725
/>

theoplayer_versioned_docs/version-v7/getting-started/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616
import { usePlatforms } from '@site/src/util/platform';
1717

1818
<DocCardList
19-
items={usePlatforms().map((desc) => {
20-
return {
21-
type: 'link',
22-
label: desc.label,
23-
customProps: { icon: desc.icon },
24-
href: desc.gettingStartedDocUrl,
25-
};
26-
})}
19+
items={usePlatforms().map((desc) => ({
20+
type: 'link',
21+
label: desc.label,
22+
customProps: { icon: desc.icon },
23+
href: desc.gettingStartedDocUrl,
24+
}))}
2725
/>

theoplayer_versioned_docs/version-v8/getting-started/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616
import { usePlatforms } from '@site/src/util/platform';
1717

1818
<DocCardList
19-
items={usePlatforms().map((desc) => {
20-
return {
21-
type: 'link',
22-
label: desc.label,
23-
customProps: { icon: desc.icon },
24-
href: desc.gettingStartedDocUrl,
25-
};
26-
})}
19+
items={usePlatforms().map((desc) => ({
20+
type: 'link',
21+
label: desc.label,
22+
customProps: { icon: desc.icon },
23+
href: desc.gettingStartedDocUrl,
24+
}))}
2725
/>

theoplayer_versioned_docs/version-v9/getting-started/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616
import { usePlatforms } from '@site/src/util/platform';
1717

1818
<DocCardList
19-
items={usePlatforms().map((desc) => {
20-
return {
21-
type: 'link',
22-
label: desc.label,
23-
customProps: { icon: desc.icon },
24-
href: desc.gettingStartedDocUrl,
25-
};
26-
})}
19+
items={usePlatforms().map((desc) => ({
20+
type: 'link',
21+
label: desc.label,
22+
customProps: { icon: desc.icon },
23+
href: desc.gettingStartedDocUrl,
24+
}))}
2725
/>

0 commit comments

Comments
 (0)