diff --git a/src/App.tsx b/src/App.tsx
index 0952280..ed04b17 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -5,15 +5,10 @@ import useDisclaimerState from './utils/useDisclaimerState';
import useNav from './utils/useNav';
import { useEffect } from 'react';
import { defaultHashTags } from './components/env';
-import { useNDK } from '@nostr-dev-kit/ndk-react';
-import { useGlobalState } from './utils/globalState';
const App = () => {
const { disclaimerAccepted, setDisclaimerAccepted } = useDisclaimerState();
const { nav, currentSettings } = useNav();
- const { loginWithNip07, ndk } = useNDK();
-
- const [state, setState] = useGlobalState();
useEffect(() => {
if (currentSettings.npubs.length == 0 && currentSettings.tags.length == 0) {
@@ -21,16 +16,8 @@ const App = () => {
}
}, []);
- const onLogin = async () => {
- const result = await loginWithNip07();
- console.log(result);
- result && setState({ userNPub: result.npub });
- };
return (
<>
- {JSON.stringify(ndk?.signer)}
- {state.userNPub }
-
{disclaimerAccepted ? (
) : (
diff --git a/src/components/AdultContentInfo.tsx b/src/components/AdultContentInfo.tsx
index 9513828..5c1303a 100644
--- a/src/components/AdultContentInfo.tsx
+++ b/src/components/AdultContentInfo.tsx
@@ -11,7 +11,7 @@ const AdultContentInfo = () => {
};
const goBack = (e: MouseEvent) => {
e.preventDefault();
- nav({...currentSettings, npubs: [], tags: [], showAdult: false });
+ nav({ ...currentSettings, npubs: [], tags: [], showAdult: false });
};
return (
diff --git a/src/components/Disclaimer.tsx b/src/components/Disclaimer.tsx
index a604ed1..85c3757 100644
--- a/src/components/Disclaimer.tsx
+++ b/src/components/Disclaimer.tsx
@@ -23,9 +23,9 @@ const Disclaimer = ({ disclaimerAccepted, setDisclaimerAccepted }: DisclaimerPro
The content presented on this site is entirely user-generated and remains unmoderated. Images and
videos are sourced from the NOSTR platform and are not hosted on this site. Content filtering efforts are made
- to avoid adult content, but we cannot guarantee complete safety. Please use discretion and be
- responsible while engaging with the material on this platform. By using this site, you agree not to hold the
- site owners, operators, and affiliates liable for any content-related experiences.
+ to avoid adult content, but we cannot guarantee complete safety. Please use discretion and be responsible while
+ engaging with the material on this platform. By using this site, you agree not to hold the site owners,
+ operators, and affiliates liable for any content-related experiences.