Skip to content

Commit

Permalink
chore: 🧹 prefer const
Browse files Browse the repository at this point in the history
  • Loading branch information
melMass committed May 20, 2024
1 parent 1ebe8a1 commit 45e243e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/mint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const generateTypedArtCoverImage = async (
const maxWidth = size - margin * 2
const maxHeight = size - margin * 2

let longestLine = lines.reduce(
const longestLine = lines.reduce(
(longest, line) =>
finalCtx.measureText(line).width > finalCtx.measureText(longest).width
? line
Expand Down

0 comments on commit 45e243e

Please sign in to comment.