Skip to content

Commit

Permalink
refactor(odyssey-storybook): remove unnec args declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
edburyenegren-okta committed Oct 11, 2022
1 parent fff4a5e commit fefd391
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
};

const DefaultTemplate: Story = (args) => {
const {} = args;
return (
<Alert
severity={args.severity}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default {
};

const SingleTemplate: Story = (args) => {
const {} = args;
return (
<FormControl disabled={args.disabled} error={args.invalid}>
<FormControlLabel
Expand Down Expand Up @@ -107,7 +106,6 @@ Indeterminate.args = {
};

const GroupTemplate: Story = (args) => {
const {} = args;
return (
<FormControl
component="fieldset"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export default {
};

const Template: Story = (args) => {
const {} = args;
return (
// <Form>
<Box
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default {
};

const DefaultTemplate: Story = (args) => {
const {} = args;
return (
<Alert severity={args.severity} role={args.role} variant="infobox">
{args.title && <AlertTitle>{args.title}</AlertTitle>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default {
};

const DefaultTemplate: Story = (args) => {
const {} = args;
return (
<FormControl
component="fieldset"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default {
};

const NativeTemplate: Story = (args) => {
const {} = args;
return (
<FormControl disabled={args.disabled} error={args.invalid}>
<InputLabel id="demo-simple-select-label">{args.label}</InputLabel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ function EnhancedTable() {
}

const DefaultTemplate: Story = (args) => {
const {} = args;

return (
<TableContainer>
<Table>
Expand Down Expand Up @@ -348,8 +346,6 @@ export const Default = DefaultTemplate.bind({});
Default.args = {};

const RowHeadingTemplate: Story = (args) => {
const {} = args;

return (
<TableContainer>
<Table>
Expand Down Expand Up @@ -386,8 +382,6 @@ export const RowHeadings = RowHeadingTemplate.bind({});
RowHeadings.args = {};

const RowGroupingTemplate: Story = (args) => {
const {} = args;

return (
<TableContainer>
<Table>
Expand Down Expand Up @@ -447,8 +441,6 @@ export const RowGroupings = RowGroupingTemplate.bind({});
RowGroupings.args = {};

const EnhancedTemplate: Story = (args) => {
const {} = args;

return <EnhancedTable />;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ function a11yProps(index: number) {
}

const DefaultTemplate: Story = (args) => {
const {} = args;

const [value, setValue] = React.useState(0);

const handleChange = (_event: React.SyntheticEvent, newValue: number) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export default {
};

const Template: Story = (args) => {
const {} = args;
return (
<FormControl disabled={args.disabled} error={args.invalid}>
<InputLabel id="demo-text-field-label">{args.label}</InputLabel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export default {
};

const DefaultTemplate: Story = (args) => {
const {} = args;
const [open, setOpen] = React.useState(false);

const handleClick = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Disabled.args = {
};

const PlacementTemplate: Story = (args) => {
const {} = args;
return (
<>
<Tooltip title="Top" placement="top">
Expand Down

0 comments on commit fefd391

Please sign in to comment.