Commit 1690f536 authored by tom goriunov's avatar tom goriunov Committed by GitHub

fix NFT attribute link and Home page graph resizer (#1237)

parent a536d876
......@@ -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(),
......
......@@ -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>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment