fix(storybook): clan settings mock data shape changed
This commit is contained in:
@@ -22,9 +22,9 @@ import { Alert } from "@/src/components/Alert/Alert";
|
|||||||
import { removeClanURI } from "@/src/stores/clan";
|
import { removeClanURI } from "@/src/stores/clan";
|
||||||
|
|
||||||
const schema = v.object({
|
const schema = v.object({
|
||||||
name: v.pipe(v.optional(v.string())),
|
name: v.string(),
|
||||||
description: v.nullish(v.string()),
|
description: v.optional(v.string()),
|
||||||
icon: v.pipe(v.nullish(v.string())),
|
icon: v.optional(v.string()),
|
||||||
});
|
});
|
||||||
|
|
||||||
export interface ClanSettingsModalProps {
|
export interface ClanSettingsModalProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user