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:
parent
de28e68fc5
commit
cec85469b8
3 changed files with 6 additions and 6 deletions
|
@ -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;
|
|
@ -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();
|
||||
|
|
@ -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>
|
||||
</>
|
||||
|
|
Loading…
Reference in a new issue