diff --git a/apps/web/src/components/navbar/AddDatabaseForm/index.tsx b/apps/web/src/components/navbar/AddDatabaseForm/index.tsx index 222b42d207b87093c3ad4ff2c4a47547dc2797f6..acef980f97760382ce522bf43ea730f54c7e9d01 100644 --- a/apps/web/src/components/navbar/AddDatabaseForm/index.tsx +++ b/apps/web/src/components/navbar/AddDatabaseForm/index.tsx @@ -52,8 +52,6 @@ export default function AddDatabaseForm(props: AddDatabaseFormProps) { const [portValidation, setPortValidation] = useState<string>('valid'); useEffect(() => { - console.log('state :>> ', state); - console.log('state.port :>> ', state.port); if (state && state.port && state.port > 9999) { setPortValidation('error'); } else { @@ -61,10 +59,6 @@ export default function AddDatabaseForm(props: AddDatabaseFormProps) { } }, [state.port]); - useEffect(() => { - console.log('portValidation', portValidation); - }, [portValidation]); - /** * Validates if the port value is numerical. Only then will the state be updated. * @param port The new port value. diff --git a/apps/web/src/components/navbar/navbar.tsx b/apps/web/src/components/navbar/navbar.tsx index da5537d91561308b4355dbed579cc2846999d4e5..bd336cd2a2ee11f2d1ca4a6720759e27b8d68803 100644 --- a/apps/web/src/components/navbar/navbar.tsx +++ b/apps/web/src/components/navbar/navbar.tsx @@ -87,11 +87,8 @@ export const Navbar = (props: NavbarComponentProps) => { ...state, selectDatabaseMenuAnchor: undefined, deleteDatabaseMenuAnchor: undefined, - userMenuAnchor: undefined, }); - //setTimeout(() => setState({ ...state, userMenuAnchor: undefined }), 100); setTimeout(() => { - console.log('enter function'); setState({ ...state, userMenuAnchor: undefined }); }, 100); }