File tree Expand file tree Collapse file tree
theoplayer_versioned_docs
version-v4/getting-started
version-v6/getting-started
version-v7/getting-started
version-v8/getting-started
version-v9/getting-started
theoplayer/getting-started Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616import { 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/>
Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616import { 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/>
Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616import { 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/>
Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616import { 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/>
Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616import { 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/>
Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ import DocCardList from '@theme/DocCardList';
1616import { 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/>
You can’t perform that action at this time.
0 commit comments