Skip to content

Commit

Permalink
remove broken func
Browse files Browse the repository at this point in the history
  • Loading branch information
Niceygy committed Dec 19, 2023
1 parent 696a387 commit 583d2e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/food/new.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Head from 'next/head';
import { useRouter } from 'next/router';
import { useState } from 'react';
import Recipe, { instruction, newRecipe } from '../api/food/functions';
import Recipe, { instruction } from '../api/food/functions';
import log from '../api/log';
import { listenForUser } from '../api/users/functions';

Expand Down Expand Up @@ -59,7 +59,7 @@ export default function NewFood() {
instructions: instructionsFormatted,
tags: [],
}
await newRecipe(toDB, localUser?.uid, false);
//await newRecipe(toDB, localUser?.uid, false);
};

return (
Expand Down

0 comments on commit 583d2e3

Please sign in to comment.