Bug Fixes

This commit is contained in:
headlesdev 2025-05-24 19:51:17 +02:00
parent 1cd48a8a1e
commit fe6586d051
3 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
<div className="tabs tabs-border pt-8"> <div className="tabs tabs-border pt-8">
<input <input
type="radio" type="radio"
name="settings_tabs" name="settings"
className="tab text-primary z-10" className="tab text-primary z-10"
aria-label="User Settings" aria-label="User Settings"
defaultChecked defaultChecked
@ -50,7 +50,7 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
<input <input
type="radio" type="radio"
name="settings_tabs" name="settings"
className="tab text-primary z-10" className="tab text-primary z-10"
aria-label="Notification Settings" aria-label="Notification Settings"
/> />

View File

@ -51,7 +51,7 @@ export default function SetupPage() {
// Create site using the hook // Create site using the hook
const siteResult = addSite({ const siteResult = addSite({
id: "", id: 0,
name: siteName, name: siteName,
description: "", description: "",
networks: [] networks: []
@ -73,7 +73,7 @@ export default function SetupPage() {
// Create network using the hook // Create network using the hook
const networkResult = addNetwork({ const networkResult = addNetwork({
id: "", id: 0,
name: networkName, name: networkName,
siteId: site.id, siteId: site.id,
ipv4Subnet: "", ipv4Subnet: "",

View File

@ -5,7 +5,7 @@ import Cookies from "js-cookie";
const useSite = () => { const useSite = () => {
const [site, setSite] = useState<Site>({ const [site, setSite] = useState<Site>({
id: "", id: 0,
name: "", name: "",
description: "", description: "",
networks: [] networks: []