Skip to content

Commit

Permalink
fix: update components
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Feb 3, 2024
1 parent 3ac83b1 commit 815e4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PromptInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const PromptInput = () => {
}
};

if (!promptVisible || !premium) return null;
if (!promptVisible) return null;

return (
<Tooltip
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils/widget.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export function isIframe() {
try {
if (typeof window === "undefined") return false;
return window.self !== window.top;
} catch (e) {
return true;
Expand Down

0 comments on commit 815e4ba

Please sign in to comment.