mirror of
https://github.com/anna-sara/lan_kiosk
synced 2026-09-03 13:15:01 +02:00
29 lines
860 B
TypeScript
29 lines
860 B
TypeScript
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
|
|
import { Head} from '@inertiajs/react';
|
|
import { MouseEvent } from 'react';
|
|
|
|
export default function Settings() {
|
|
|
|
const loadParticipants = (event: any) => {
|
|
event.preventDefault()
|
|
|
|
fetch("/api/load_customers");
|
|
}
|
|
|
|
|
|
return (
|
|
<AuthenticatedLayout>
|
|
<Head title="Inställningar | vBytes LAN Kiosk" />
|
|
|
|
<section className='section'>
|
|
<div className="container is-max-desktop">
|
|
<h1 className="title is-2">Inställningar</h1>
|
|
<li className='cell button is-small is-white' onClick={(event) => loadParticipants(event)}>
|
|
Hämta alla deltagare
|
|
</li>
|
|
</div>
|
|
</section>
|
|
|
|
</AuthenticatedLayout>
|
|
);
|
|
}
|