1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 16:24:19 +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 classNames from "classnames"
import {default as React} from "react" import {default as React} from "react"
export function CreatePrivateBoard() { export function CreatePrivateBoardPanel() {
const {createBoard} = useBoardCreator(); const {createBoard} = useBoardCreator();
const isSecure = typeof window !== "undefined" && window.isSecureContext; 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" import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
export function CreatePublicBoard() { export function CreatePublicBoardPanel() {
const [code, setCode] = useLowerKebabState("") const [code, setCode] = useLowerKebabState("")
const {createBoard} = useBoardCreator(); const {createBoard} = useBoardCreator();

View file

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