Skip to content

Commit

Permalink
Update timeout to 200ms and remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope committed Mar 1, 2023
1 parent bd3c57c commit 79dabf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@
- [x] Move toggle slightly on the restore page and we took out the dropdowns
- [x] Make sure it looks good on mobile (1, 2, 3 icons cut off)
- [x] Add Vercel Analytics
- [ ] Test lighthouse scores to make sure I have good performance
- [ ] Maybe replace the pic in the homescreen and copy
- [ ] Add 1 more themes and types of rooms based on interiorAI
- [ ] Send it in Vercel's Slack to give folks a sneak peek
- [x] Test lighthouse scores to make sure I have good performance
- [x] Send it in Vercel's Slack to give folks a sneak peek
- [ ] Maybe replace the pic in the homescreen and copy (remodel instead of generate dream room?)
- [ ] Add all replicate IDs to localstorage array

## Todos v2

- [ ] Add more themes and types of room based on interiorAI
- [ ] See if I should open a new tab when clicking "Upload new room"
- [ ] Add mechanism for folks to vote on themes with the top theme being added each week
- [ ] Add aggresive rate limiting
Expand Down
2 changes: 1 addition & 1 deletion pages/dream.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Home: NextPage = () => {
);

async function generatePhoto(fileUrl: string) {
await new Promise((resolve) => setTimeout(resolve, 500)); // TODO: See if I even need this
await new Promise((resolve) => setTimeout(resolve, 200)); // TODO: See if I even need this
setLoading(true);
const res = await fetch("/api/generate", {
method: "POST",
Expand Down

0 comments on commit 79dabf2

Please sign in to comment.