mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-20 23:54:45 +12:00
fix(guide): ring cutoff on guide header
This commit is contained in:
parent
1b74c774c0
commit
8c0eb56ba5
1 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ export default function Header() {
|
|||
return (
|
||||
<Fragment key={`${el.key}-${idx}`}>
|
||||
<div className="mx-2">/</div>
|
||||
{el}
|
||||
<div>{el}</div>
|
||||
<div className="mx-2">/</div>
|
||||
</Fragment>
|
||||
);
|
||||
|
@ -48,13 +48,13 @@ export default function Header() {
|
|||
if (idx !== array.length - 1) {
|
||||
return (
|
||||
<Fragment key={`${el.key}-${idx}`}>
|
||||
{el}
|
||||
<div>{el}</div>
|
||||
<div className="mx-2">/</div>
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
|
||||
return <Fragment key={`${el.key}-${idx}`}>{el}</Fragment>;
|
||||
return <div key={`${el.key}-${idx}`}>{el}</div>;
|
||||
}),
|
||||
[pathElements],
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue