Add ability to remove profile picture on Profile Settings (#538)

* Add ability to remove profile picture on Profile Settings

* Fix lint

* Fix according to review
This commit is contained in:
Charles Bochet
2023-07-08 10:41:16 -07:00
committed by GitHub
parent e2822ed095
commit 36ace6cc03
22 changed files with 363 additions and 75 deletions

View File

@ -0,0 +1,11 @@
{ /* Opportunities.mdx */ }
import { Canvas, Meta } from '@storybook/blocks';
import * as Opportunities from './Opportunities.stories';
<Meta of={Opportunities} />
# Opportunities View
<Canvas of={Opportunities.Default} />

View File

@ -0,0 +1,22 @@
import type { Meta, StoryObj } from '@storybook/react';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { getRenderWrapperForPage } from '~/testing/renderWrappers';
import { Opportunities } from '../Opportunities';
const meta: Meta<typeof Opportunities> = {
title: 'Pages/Opportunities',
component: Opportunities,
};
export default meta;
export type Story = StoryObj<typeof Opportunities>;
export const Default: Story = {
render: getRenderWrapperForPage(<Opportunities />, '/opportunities'),
parameters: {
msw: graphqlMocks,
},
};