mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
fix NFT attribute link and Home page graph resizer (#1237)
This commit is contained in:
@@ -24,7 +24,7 @@ function formatValue(value: string | number, display: string | undefined, trait:
|
||||
}
|
||||
default: {
|
||||
try {
|
||||
if (trait?.toLowerCase().includes('url')) {
|
||||
if (trait?.toLowerCase().includes('url') || value.toString().startsWith('http')) {
|
||||
const url = new URL(String(value));
|
||||
return {
|
||||
value: url.toString(),
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ import SearchBar from 'ui/snippets/searchBar/SearchBar';
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<>
|
||||
<Box as="main">
|
||||
<Box
|
||||
w="100%"
|
||||
background={ config.UI.homepage.plate.background }
|
||||
@@ -48,7 +48,7 @@ const Home = () => {
|
||||
<Transactions/>
|
||||
</Box>
|
||||
</Flex>
|
||||
</>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user