File tree Expand file tree Collapse file tree 6 files changed +3
-65
lines changed Expand file tree Collapse file tree 6 files changed +3
-65
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import React from 'react' ;
2-
3- import { projectIconsURL } from '../icons/projectIconsURL' ;
42import { stackIconsURL } from '../icons/stackIconsURL' ;
53
64type Props = {
@@ -14,7 +12,7 @@ type Props = {
1412 * @returns {ReactNode } - Return tag img, stack svg icon.
1513 */
1614export function StackIcons ( { itemTopics, className } : Props ) {
17- return itemTopics === 'deploy' || projectIconsURL [ itemTopics ] ? (
15+ return itemTopics === 'deploy' ? (
1816 < > </ >
1917 ) : (
2018 < img className = { className } alt = { stackIconsURL [ itemTopics ] } src = { stackIconsURL [ itemTopics ] } />
Original file line number Diff line number Diff line change 11import React , { ReactNode } from 'react' ;
2-
3- import { projectIconsURL } from '../../icons/projectIconsURL' ;
42import { stackIconsURL } from '../../icons/stackIconsURL' ;
53import { css } from './styles.js' ;
64
@@ -15,7 +13,7 @@ type Props = {
1513 * @returns {ReactNode } - Return tag p, stack text.
1614 */
1715export function StackLabels ( { itemTopics, className = 'styleStackLabels' } : Props ) : ReactNode {
18- return itemTopics === 'deploy' || projectIconsURL [ itemTopics ] || stackIconsURL [ itemTopics ] === undefined ? (
16+ return itemTopics === 'deploy' || stackIconsURL [ itemTopics ] === undefined ? (
1917 < > </ >
2018 ) : (
2119 < >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- export { ProjectIcons } from './components/ProjectIcons' ;
21export { StackIcons } from './components/StackIcons' ;
32export { StackLabels } from './components/StackLabels/StackLabels' ;
43export { IGithubRepos , useGitHubAutomatedRepos } from './hook/useGithubAutomatedRepos' ;
54export { ReactQueryProvider } from './hook/api/QueryClientProvider' ;
6- export { _handleRepository } from "./hook/utils/_handleRepository"
5+ export { stackIconsURL } from "./icons/stackIconsURL" ;
You can’t perform that action at this time.
0 commit comments