mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-18 07:56:57 +00:00
Bug Fixes
This commit is contained in:
parent
1cd48a8a1e
commit
fe6586d051
@ -30,7 +30,7 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
|
||||
<div className="tabs tabs-border pt-8">
|
||||
<input
|
||||
type="radio"
|
||||
name="settings_tabs"
|
||||
name="settings"
|
||||
className="tab text-primary z-10"
|
||||
aria-label="User Settings"
|
||||
defaultChecked
|
||||
@ -50,7 +50,7 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
|
||||
|
||||
<input
|
||||
type="radio"
|
||||
name="settings_tabs"
|
||||
name="settings"
|
||||
className="tab text-primary z-10"
|
||||
aria-label="Notification Settings"
|
||||
/>
|
||||
|
||||
@ -51,7 +51,7 @@ export default function SetupPage() {
|
||||
|
||||
// Create site using the hook
|
||||
const siteResult = addSite({
|
||||
id: "",
|
||||
id: 0,
|
||||
name: siteName,
|
||||
description: "",
|
||||
networks: []
|
||||
@ -73,7 +73,7 @@ export default function SetupPage() {
|
||||
|
||||
// Create network using the hook
|
||||
const networkResult = addNetwork({
|
||||
id: "",
|
||||
id: 0,
|
||||
name: networkName,
|
||||
siteId: site.id,
|
||||
ipv4Subnet: "",
|
||||
|
||||
@ -5,7 +5,7 @@ import Cookies from "js-cookie";
|
||||
|
||||
const useSite = () => {
|
||||
const [site, setSite] = useState<Site>({
|
||||
id: "",
|
||||
id: 0,
|
||||
name: "",
|
||||
description: "",
|
||||
networks: []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user