Skip to content

Commit

Permalink
Fixing build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjampen committed Feb 7, 2024
1 parent 7042663 commit 224f697
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/(info)/instructions/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function Instructions() {
<p>Now, let&apos;s analyze your data on the &apos;Dashboard.&apos; Select the date and the range you&apos;d like to explore.</p>

<p>Use the interactive charts to understand how your activities, the time of day, and other factors influence your energy levels. Below that, you&apos;ll find automated analysis with color-coded insights into how certain activities influence your energy.</p>
<p>By clicking on "Edit Dashboard" you can create custom charts that display your selected health metrics. Just create a new chart, give it a name, and select which metrics to display in it.</p>
<p>By clicking on &quot;Edit Dashboard&quot; you can create custom charts that display your selected health metrics. Just create a new chart, give it a name, and select which metrics to display in it.</p>

<h3>Developer</h3>

Expand Down
10 changes: 5 additions & 5 deletions components/AppMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export default function AppMenu({ menuItems }) {

return (
<div className="flex flex-col w-full items-center gap-8">
{menuItems.map(menuCard => {
{menuItems.map((menuCard, i) => {
return (
<Card className="w-full md:w-[500px]">
<Card key={i} className="w-full md:w-[500px]">
<CardContent className="pt-6">
<ul className="flex flex-col gap-4">
{menuCard.map(menuItem => {
Expand All @@ -31,7 +31,7 @@ export default function AppMenu({ menuItems }) {
else {
if (menuItem?.link) {
return (
<li>
<li key={menuItem.name}>
<Link href={menuItem.link} className="flex justify-between items-center cursor-pointer w-full">
<div className="flex gap-4">
{menuItem.icon} {menuItem.name}
Expand All @@ -43,7 +43,7 @@ export default function AppMenu({ menuItems }) {
}
else if (menuItem?.url) {
return (
<li>
<li key={menuItem.name}>
<a href={menuItem.url} target="_blank" className="flex justify-between items-center cursor-pointer w-full">
<div className="flex gap-4">
{menuItem.icon} {menuItem.name}
Expand All @@ -55,7 +55,7 @@ export default function AppMenu({ menuItems }) {
}
else if (menuItem?.action) {
return (
<li>
<li key={menuItem.name}>
<button onClick={shareIt} className="flex justify-between items-center cursor-pointer w-full">
<div className="flex gap-4">
{menuItem.icon} {menuItem.name}
Expand Down

0 comments on commit 224f697

Please sign in to comment.