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

This commit is contained in:
tom goriunov
2023-10-02 11:13:19 -03:00
committed by GitHub
parent 2bf424688c
commit b2d0085ca5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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>
);
};