1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 00:04:18 +00:00

Rename Create*Board to Create*BoardPanel

This commit is contained in:
Steffo 2023-08-04 02:11:41 +02:00
parent de28e68fc5
commit cec85469b8
Signed by: steffo
GPG key ID: 2A24051445686895
3 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@ import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
import classNames from "classnames"
import {default as React} from "react"
export function CreatePrivateBoard() {
export function CreatePrivateBoardPanel() {
const {createBoard} = useBoardCreator();
const isSecure = typeof window !== "undefined" && window.isSecureContext;

View file

@ -7,7 +7,7 @@ import {default as React} from "react"
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
export function CreatePublicBoard() {
export function CreatePublicBoardPanel() {
const [code, setCode] = useLowerKebabState("")
const {createBoard} = useBoardCreator();

View file

@ -1,5 +1,5 @@
import {CreatePrivateBoard} from "@/app/CreatePrivateBoard"
import {CreatePublicBoard} from "@/app/CreatePublicBoard"
import {CreatePrivateBoardPanel} from "@/app/CreatePrivateBoardPanel"
import {CreatePublicBoardPanel} from "@/app/CreatePublicBoardPanel"
import {default as React} from "react";
export default function Page() {
@ -14,8 +14,8 @@ export default function Page() {
<h2>
Crea un nuovo tabellone
</h2>
<CreatePublicBoard/>
<CreatePrivateBoard/>
<CreatePublicBoardPanel/>
<CreatePrivateBoardPanel/>
</div>
</main>
</>