Skip to content

Commit

Permalink
Merge pull request #9 from dragonswap-app/adds-missing-token-logo
Browse files Browse the repository at this point in the history
Adds missing token logo
  • Loading branch information
ffilipovicc98 authored Mar 18, 2024
2 parents 6d57679 + 0de791e commit 597444f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist/
.DS_Store
Binary file added logos/MISSING_TOKEN/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion precommit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fs.readdir(logosDir, (err, files) => {
}

if (stats.isDirectory()) {
if (!isAddress(file, { strict: true })) {
if (file !== "MISSING_TOKEN" && !isAddress(file, { strict: true })) {
throw new Error(
`${file} is not checksum encoded! Here's the encoded version: ${getAddress(
file
Expand Down

0 comments on commit 597444f

Please sign in to comment.