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">
|
<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"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -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: "",
|
||||||
|
|||||||
@ -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: []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user