Skip to content

Commit

Permalink
Add an nft image to instamint
Browse files Browse the repository at this point in the history
Add an nft image to instamint
  • Loading branch information
jazz-cb authored Nov 12, 2024
2 parents ce07242 + 1ae413c commit c6e39cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/ui/ChatInterface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import Modal from './ImageModal';

// Move this outside of the component
const getRandomChips = () => {
return chipOptions.slice().sort(() => 0.5 - Math.random()).slice(0, 3);
const randomChips = chipOptions.slice().sort(() => 0.5 - Math.random()).slice(0, 2);
return [...randomChips, "CDP @Devcon"];
};

const INITIAL_MESSAGE = { text: "Hello! What would you like to mint today?", sender: "bot" as const, id: 0 };
Expand Down
5 changes: 3 additions & 2 deletions data/chipOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,6 @@ export const chipOptions = [
"Bioluminescent Mangrove",
"Astral Time Lapse",
"Cybernetic Coral Reef",
"Galactic Dreamcatcher"
];
"Galactic Dreamcatcher",
"CDP @Devcon"
];
Binary file added public/images/99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c6e39cc

Please sign in to comment.