Skip to content

Commit

Permalink
Merge pull request #2 from nomandhoni-cs/adding-license
Browse files Browse the repository at this point in the history
fixed the buggy code
  • Loading branch information
nomandhoni-cs authored Dec 19, 2024
2 parents 57c04e4 + 0c5a53f commit 25273a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/SpotlightSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ interface SectionCache {
}

const SpotlightSearch: React.FC<SpotlightSearchProps> = ({ onClose }) => {
// const { canAccessPremiumFeatures, isPaidUser } = usePremiumFeatures();
const canAccessPremiumFeatures = false;
const isPaidUser = false;
console.log(canAccessPremiumFeatures, "canAccessPremiumFeatures");
console.log(isPaidUser, "isPaidUser");
const { canAccessPremiumFeatures, isPaidUser } = usePremiumFeatures();
const [input, setInput] = useState("");
const [results, setResults] = useState<SearchResult | null>(null);
const [loading, setLoading] = useState(false);
Expand Down

0 comments on commit 25273a2

Please sign in to comment.