Skip to content

Commit

Permalink
refactor: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinx0 committed Nov 9, 2024
1 parent caeb052 commit cb97c74
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions src/components/HelpRequests/HelpRequestForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ export default function HelpRequestForm({
}: HelpRequestProps) {
const { user } = useSession();

console.log(request);

const [formData, setFormData] = useState<HelpRequestFormData>({
nombre: request?.name || user?.user_metadata?.full_name || user?.user_metadata?.nombre || '',
telefono: request?.contact_info || user?.user_metadata?.telefono || '',
Expand Down
1 change: 0 additions & 1 deletion src/components/auth/SocialButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ type SocialButtonProps = {
export default function SocialButton({ provider, redirectUrl, children }: SocialButtonProps) {
const baseUrl =
process.env.NEXT_PUBLIC_ENV === 'production' ? process.env.NEXT_PUBLIC_BASE_URL! : 'http://127.0.0.1:3000';
console.log(baseUrl + redirectUrl);
const handleLogin = async (provider: Provider) => {
const { data, error } = await supabase.auth.signInWithOAuth({
provider,
Expand Down
3 changes: 1 addition & 2 deletions src/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ export default function Sidebar({ isOpen, toggleAction }: SidebarProps) {
{/* Toggle button for desktop */}
<button
onClick={toggleAction}
className="hidden md:flex absolute -right-12 top-4 bg-white p-2 rounded-r-lg shadow-md
hover:bg-gray-50 focus:outline-none group"
className="hidden md:flex absolute -right-12 top-4 bg-white p-2 rounded-r-lg shadow-md hover:bg-gray-50 focus:outline-none group"
aria-label={isOpen ? 'Contraer menú' : 'Expandir menú'}
>
<Menu className={`transform transition-transform duration-300 ${isOpen ? 'rotate-180' : ''}`} />
Expand Down
1 change: 0 additions & 1 deletion src/components/map/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const Map: FC<MapProps> = ({ markers = [] }) => {

const { toggleModal } = useModal();

console.log(selectedMarker);
return (
<ReactMap
initialViewState={{
Expand Down

0 comments on commit cb97c74

Please sign in to comment.