mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
fix(guide): ring cutoff on guide header
This commit is contained in:
@@ -39,7 +39,7 @@ export default function Header() {
|
|||||||
return (
|
return (
|
||||||
<Fragment key={`${el.key}-${idx}`}>
|
<Fragment key={`${el.key}-${idx}`}>
|
||||||
<div className="mx-2">/</div>
|
<div className="mx-2">/</div>
|
||||||
{el}
|
<div>{el}</div>
|
||||||
<div className="mx-2">/</div>
|
<div className="mx-2">/</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
@@ -48,13 +48,13 @@ export default function Header() {
|
|||||||
if (idx !== array.length - 1) {
|
if (idx !== array.length - 1) {
|
||||||
return (
|
return (
|
||||||
<Fragment key={`${el.key}-${idx}`}>
|
<Fragment key={`${el.key}-${idx}`}>
|
||||||
{el}
|
<div>{el}</div>
|
||||||
<div className="mx-2">/</div>
|
<div className="mx-2">/</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return <Fragment key={`${el.key}-${idx}`}>{el}</Fragment>;
|
return <div key={`${el.key}-${idx}`}>{el}</div>;
|
||||||
}),
|
}),
|
||||||
[pathElements],
|
[pathElements],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user