Fix issue with /Weight redirecting to /Energy which does not exist
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
const routes = {
|
||||
'/': Energy,
|
||||
'/Energy': Energy,
|
||||
'/Energy/daily': Daily,
|
||||
'/Energy/weekly': Weekly,
|
||||
'/Energy/monthly': Monthly,
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<script lang="ts">
|
||||
import FoodTable from "$lib/components/Energy/FoodTable.svelte";
|
||||
import * as srouter from "svelte-spa-router";
|
||||
import { location } from "svelte-spa-router";
|
||||
import { foodStore } from "$lib/store/Energy/foodStore";
|
||||
|
||||
// Fuck this hacky shit
|
||||
|
Reference in New Issue
Block a user