Manuel Bustillo
1b71bc9d79
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m21s
Add copyright notice / copyright_notice (pull_request) Successful in 1m53s
Playwright Tests / test (pull_request) Successful in 8m19s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 10m37s
18 lines
552 B
TypeScript
18 lines
552 B
TypeScript
/* Copyright (C) 2024 Manuel Bustillo*/
|
|
|
|
'use client';
|
|
|
|
import Arrangement from '@/app/ui/arrangements/arrangement';
|
|
import React, { useState } from 'react';
|
|
import ArrangementsTable from '@/app/ui/arrangements/arrangements-table';
|
|
|
|
export default function Page() {
|
|
const [currentArrangement, setCurrentArrangement] = useState<string | null>(null);
|
|
|
|
return (
|
|
<>
|
|
<ArrangementsTable onArrangementSelected={setCurrentArrangement} />
|
|
{currentArrangement && <Arrangement key={currentArrangement} id={currentArrangement} />}
|
|
</>
|
|
)
|
|
} |