Skip to content

Commit

Permalink
Fixed discriminator display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
farkon00 committed Oct 24, 2022
1 parent 3645de5 commit 751cb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ export default function Data({ data, demo }: any): ReactElement {
<div>
<div className="lg:flex md:flex items-center text-gray-900 dark:text-white">
<p className="text-xl md:text-2xl lg:text-3xl">
{data?.user?.username}#{data?.user?.discriminator}
{data?.user?.username}#{"0".repeat(4-data?.user?.discriminator.toString().length) + data?.user?.discriminator.toString()}
</p>
<div className="flex items-center">
{data?.messages?.characterCount &&
Expand Down

0 comments on commit 751cb0a

Please sign in to comment.