Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
flagrede committed Sep 12, 2024
1 parent 2bfbb28 commit 20a4c7a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions web-components/src/components/cards/card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export const projectCard = (): JSX.Element => (
estimatedIssuance: '200',
stripePaymentLink: 'https://stripe.com',
}}
draftText="Draft"
/>
</Box>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Public: Story = {
Public.args = {
privacyType: 'public',
mapboxToken: import.meta.env.STORYBOOK_MAPBOX_TOKEN,
files,
files: [],
};

export const PrivateLocations: Story = {
Expand All @@ -27,7 +27,7 @@ export const PrivateLocations: Story = {
PrivateLocations.args = {
privacyType: 'private_locations',
mapboxToken: import.meta.env.STORYBOOK_MAPBOX_TOKEN,
files,
files: [],
};

export const PrivateFiles: Story = {
Expand All @@ -37,7 +37,7 @@ export const PrivateFiles: Story = {
PrivateFiles.args = {
privacyType: 'private_files',
mapboxToken: import.meta.env.STORYBOOK_MAPBOX_TOKEN,
files,
files: [],
};

export const PrivateLocationsAsAdmin: Story = {
Expand All @@ -47,7 +47,7 @@ export const PrivateLocationsAsAdmin: Story = {
PrivateLocationsAsAdmin.args = {
privacyType: 'private_locations',
mapboxToken: import.meta.env.STORYBOOK_MAPBOX_TOKEN,
files,
files: [],
isAdmin: true,
};

Expand All @@ -58,6 +58,6 @@ export const PrivateFilesAsAdmin: Story = {
PrivateFilesAsAdmin.args = {
privacyType: 'private_files',
mapboxToken: import.meta.env.STORYBOOK_MAPBOX_TOKEN,
files,
files: [],
isAdmin: true,
};
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type PostFormSchemaParams = {

export const getPostFormSchema = ({ requiredMessage }: PostFormSchemaParams) =>
z.object({
iri: z.string().optional(),
title: z.string().max(POST_MAX_TITLE_LENGTH).min(1),
comment: z.string().min(1),
files: z.array(editFileFormSchema).optional(),
Expand Down

0 comments on commit 20a4c7a

Please sign in to comment.