Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha authored and dr497 committed Nov 30, 2023
1 parent 3dbb7c2 commit f06a306
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions react/src/hooks/useSuggestions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export const useDomainSuggestions = ({

const data: string[] = await (await fetch(`${URL}/${domain}`)).json();

console.log("data", data);

if (!data || data.length < 5) {
if (!connection) return [];
const alternatives = generateRandomDomain(domain, 10);
Expand Down

0 comments on commit f06a306

Please sign in to comment.