Skip to content

Commit

Permalink
Don't throw exception if version not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Feb 15, 2024
1 parent 8b3fdc8 commit 52748ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function App() {
<a
href={`https://github.com/benvinegar/counterscale/commit/${data.version}`}
>
{data.version.slice(0, 7)}
{data.version?.slice(0, 7)}
</a>
</div>
</footer>
Expand Down

0 comments on commit 52748ab

Please sign in to comment.