@@ -21,52 +21,52 @@ import {useState} from "react";
2121import { Card } from "../../../common/Card" ;
2222import { PaymentAndInvoicingSettings } from "./Sections/PaymentSettings" ;
2323
24- const SECTIONS = [
25- {
26- id : 'event-details' ,
27- label : t `Event Details` ,
28- icon : IconBuildingStore ,
29- component : EventDetailsForm
30- } ,
31- {
32- id : 'location-settings' ,
33- label : t `Location` ,
34- icon : IconMapPin ,
35- component : LocationSettings
36- } ,
37- {
38- id : 'homepage-settings' ,
39- label : t `Checkout` ,
40- icon : IconHome ,
41- component : HomepageAndCheckoutSettings
42- } ,
43- {
44- id : 'seo-settings' ,
45- label : t `SEO` ,
46- icon : IconBrandGoogleAnalytics ,
47- component : SeoSettings
48- } ,
49- {
50- id : 'email-settings' ,
51- label : t `Email` ,
52- icon : IconAt ,
53- component : EmailSettings
54- } ,
55- {
56- id : 'misc-settings' ,
57- label : t `Miscellaneous` ,
58- icon : IconAdjustments ,
59- component : MiscSettings
60- } ,
61- {
62- id : 'payment-settings' ,
63- label : t `Payment & Invoicing` ,
64- icon : IconCreditCard ,
65- component : PaymentAndInvoicingSettings ,
66- }
67- ] ;
68-
6924export const Settings = ( ) => {
25+ const SECTIONS = [
26+ {
27+ id : 'event-details' ,
28+ label : t `Event Details` ,
29+ icon : IconBuildingStore ,
30+ component : EventDetailsForm
31+ } ,
32+ {
33+ id : 'location-settings' ,
34+ label : t `Location` ,
35+ icon : IconMapPin ,
36+ component : LocationSettings
37+ } ,
38+ {
39+ id : 'homepage-settings' ,
40+ label : t `Checkout` ,
41+ icon : IconHome ,
42+ component : HomepageAndCheckoutSettings
43+ } ,
44+ {
45+ id : 'seo-settings' ,
46+ label : t `SEO` ,
47+ icon : IconBrandGoogleAnalytics ,
48+ component : SeoSettings
49+ } ,
50+ {
51+ id : 'email-settings' ,
52+ label : t `Email` ,
53+ icon : IconAt ,
54+ component : EmailSettings
55+ } ,
56+ {
57+ id : 'misc-settings' ,
58+ label : t `Miscellaneous` ,
59+ icon : IconAdjustments ,
60+ component : MiscSettings
61+ } ,
62+ {
63+ id : 'payment-settings' ,
64+ label : t `Payment & Invoicing` ,
65+ icon : IconCreditCard ,
66+ component : PaymentAndInvoicingSettings ,
67+ }
68+ ] ;
69+
7070 const isLargeScreen = useMediaQuery ( '(min-width: 1200px)' , true ) ;
7171 const [ activeSection , setActiveSection ] = useState ( SECTIONS [ 0 ] . id ) ;
7272
0 commit comments