Skip to content

Commit 2650c96

Browse files
committed
style: lint
1 parent c60137b commit 2650c96

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/components/Banner.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ const Banner = () => {
138138
</p>
139139
{banner.link && (
140140
banner.link.startsWith('http') ? (
141-
/*
141+
/*
142142
Use native <a> tag for external absolute URLs to bypass React Router.
143-
This allows the browser to perform a normal page navigation instead of
144-
React Router attempting to resolve it internally which causes a 404.
143+
This allows the browser to perform a normal page navigation instead of
144+
React Router attempting to resolve it internally which causes a 404.
145145
*/
146146
<a
147147
href={banner.link}

src/components/BrutalistSidebar.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ const BrutalistSidebar = ({
211211
{items.map((item, idx) => {
212212
const Icon = ICON_MAP[item.icon] || ArrowRightIcon;
213213
if (item.external === 'true' || item.url || (item.to && item.to.startsWith('http'))) {
214-
/*
214+
/*
215215
Use native <a> tag for external absolute URLs to bypass React Router.
216-
This allows the browser to perform a normal page navigation instead of
217-
React Router attempting to resolve it internally which causes a 404.
216+
This allows the browser to perform a normal page navigation instead of
217+
React Router attempting to resolve it internally which causes a 404.
218218
*/
219219
return (
220220
<a

src/components/LuxeSidebar.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ const LuxeSidebar = ({
215215
{items.map((item, idx) => {
216216
const Icon = ICON_MAP[item.icon] || ArrowRightIcon;
217217
if (item.external === 'true' || item.url || (item.to && item.to.startsWith('http'))) {
218-
/*
218+
/*
219219
Use native <a> tag for external absolute URLs to bypass React Router.
220-
This allows the browser to perform a normal page navigation instead of
221-
React Router attempting to resolve it internally which causes a 404.
220+
This allows the browser to perform a normal page navigation instead of
221+
React Router attempting to resolve it internally which causes a 404.
222222
*/
223223
return (
224224
<a

0 commit comments

Comments
 (0)