Skip to content

Commit bf1074f

Browse files
committed
fix: changed add character to correct page
1 parent 7aa9d16 commit bf1074f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/web/src/app/(profile)/profile/[handle]/(user)/(characters)/characters/CharacterView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function CharacterView({
8686
</Button>
8787
<Button
8888
onClick={() =>
89-
router.push("/dashboard/characters?createModal=true")
89+
router.push("/studio/characters?createModal=true")
9090
}
9191
icon={<LuPlus size={20} />}
9292
>

apps/web/src/components/layouts/Cards/ColorPalette.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface ColorPaletteProps {
99
height?: number | string
1010
}
1111

12-
export function ColorPalette({
12+
export default function ColorPalette({
1313
palette,
1414
width = "100%",
1515
height = "30px"

apps/web/src/components/layouts/Cards/Status.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface CharacterStatusProps {
1111
status: CharacterStatus
1212
}
1313

14-
export function Status({ status }: CharacterStatusProps) {
14+
export default function Status({ status }: CharacterStatusProps) {
1515
const base = "flex flex-row items-center text-md font-semibold my-1"
1616

1717
const statusObj: Record<

0 commit comments

Comments
 (0)