Skip to content

Commit

Permalink
Fix flatground tricks section
Browse files Browse the repository at this point in the history
  • Loading branch information
alianza committed Apr 5, 2024
1 parent a767a4d commit 19fed5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions __tests__/lib/trickNames.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getFullTrickName } from '../../lib/commonUtils';
import { FLATGROUND_TRICKS, DIRECTIONS } from '../../models/constants/flatgroundTricks';
import { getFullTrickName } from '@/lib/commonUtils';
import { FLATGROUND_TRICKS, DIRECTIONS } from '@/models/constants/flatgroundTricks';
import STANCES from '../../models/constants/stances';

const {
Expand Down
1 change: 0 additions & 1 deletion app/flatgroundtricks/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export default function FlatgroundTricksPage() {
</div>

<TableSection
title="Flatground Tricks"
endpoint="flatgroundtricks"
columns={['stance', 'direction', 'rotation', 'name', trickCol]}
newLink="/new-flatground-trick"
Expand Down
2 changes: 1 addition & 1 deletion appComponents/TableSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function TableSection({ title, endpoint, columns, entityName, newLink, showCount

return (
<TransitionScroll hiddenStyle={hiddenStyle} baseStyle={baseStyle} className="flex flex-col">
<LinkWithArrow label={title} href={`/${endpoint}`} />
{title && <LinkWithArrow label={title} href={`/${endpoint}`} />}
<GenericTable
objArray={tricks}
columns={columns}
Expand Down

0 comments on commit 19fed5d

Please sign in to comment.