mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* env for base path * delete base path * redo network type * debug review workflow * update values * update values Co-authored-by: Yuliya Sharafitdinova <[email protected]>
17 lines
414 B
TypeScript
17 lines
414 B
TypeScript
import React from 'react';
|
|
|
|
import appConfig from 'configs/app/config';
|
|
import featuredNetworks from 'lib/networks/featuredNetworks';
|
|
|
|
export default function useNetworkNavigationItems() {
|
|
|
|
return React.useMemo(() => {
|
|
return featuredNetworks.map((network) => {
|
|
return {
|
|
...network,
|
|
isActive: network.type ? appConfig.network.type === network.type : false,
|
|
};
|
|
});
|
|
}, []);
|
|
}
|