- {
- continueWatching.lib_items.length > 0 ?
-
({
- ...libItem,
- dataset: { id, videoId, type: libItem.type },
- options,
- optionOnSelect
- }))}
- limit={10}
- />
- :
- null
- }
- {board.catalog_resources.map((catalog_resource, index) => {
- const title = `${catalog_resource.addon_name} - ${catalog_resource.request.path.id} ${catalog_resource.request.path.type_name}`;
- switch (catalog_resource.content.type) {
- case 'Ready': {
- return (
-
- );
- }
- case 'Err': {
- const message = `Error(${catalog_resource.content.content.type})${typeof catalog_resource.content.content.content === 'string' ? ` - ${catalog_resource.content.content.content}` : ''}`;
- return (
-
- );
- }
- case 'Loading': {
- return (
-
- );
- }
+
+
+ {
+ continueWatching.lib_items.length > 0 ?
+ ({
+ ...libItem,
+ dataset: { id, videoId, type: libItem.type },
+ options,
+ optionOnSelect
+ }))}
+ limit={10}
+ />
+ :
+ null
+ }
+ {board.catalog_resources.map((catalog_resource, index) => {
+ const title = `${catalog_resource.addon_name} - ${catalog_resource.request.path.id} ${catalog_resource.request.path.type_name}`;
+ switch (catalog_resource.content.type) {
+ case 'Ready': {
+ return (
+
+ );
}
- })}
-
+ case 'Err': {
+ const message = `Error(${catalog_resource.content.content.type})${typeof catalog_resource.content.content.content === 'string' ? ` - ${catalog_resource.content.content.content}` : ''}`;
+ return (
+
+ );
+ }
+ case 'Loading': {
+ return (
+
+ );
+ }
+ }
+ })}