mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-20 22:24:28 +01:00
fix: replace return null with empty tags
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export default function Debug({children}: {children: ReactNode}) {
|
||||
if (process.env.NODE_ENV !== 'development') return null
|
||||
if (process.env.NODE_ENV !== 'development') return <></>
|
||||
return (
|
||||
<div className="debug">
|
||||
{children}
|
||||
|
||||
@@ -38,7 +38,7 @@ export default function SettingsPage() {
|
||||
|
||||
// handleDeleteAccount function removed
|
||||
|
||||
if (!settings) return null
|
||||
if (!settings) return <></>
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user