feat: add Songs screen to admin page
This commit is contained in:
1 parent
e51ff6e738
commit
0712740eb2
1 file changed
+4
-3
+4
-3
@@ -5,6 +5,7 @@ import { useEffect, useState } from "react";
|
|||||||
|
|
||||||
import Card from "@/components/Card"
|
import Card from "@/components/Card"
|
||||||
import { Input } from "@/components/FormElements";
|
import { Input } from "@/components/FormElements";
|
||||||
|
import { Screens } from "@/components/DatabaseOverview";
|
||||||
|
|
||||||
interface Songbook {
|
interface Songbook {
|
||||||
id: number;
|
id: number;
|
||||||
@@ -229,9 +230,9 @@ export default function AdminPage() {
|
|||||||
</form>
|
</form>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
<Card title="Lieder">
|
<Screens.Songs
|
||||||
<p>Alle Lieder:</p>
|
onSelectSong={(song) => console.log(song)}
|
||||||
</Card>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user