Skip to content

Commit

Permalink
chore: fix failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
hiemanshu committed Sep 12, 2023
1 parent 87f34ca commit 7ab322c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/containers/AdminCampaignList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@ class AdminCampaignList extends React.Component {
});
};

handleClickSpeedDial = () => {
const { speedDialOpen } = this.state;
this.setState({ speedDialOpen: !speedDialOpen });
};

handleCreatedFromTemplateSnackbarClose = (_event, reason) => {
if (reason === "clickaway") {
return;
Expand Down Expand Up @@ -252,7 +247,6 @@ class AdminCampaignList extends React.Component {
createdFromTemplateIds,
createdFromTemplateTitle,
showCreatedFromTemplateSnackbar,
speedDialOpen,
isCreating
} = this.state;

Expand Down Expand Up @@ -330,7 +324,7 @@ class AdminCampaignList extends React.Component {
{releasingInProgress
? []
: doneReleasingReplies
? [
? [
<Button
key="done"
variant="contained"
Expand All @@ -339,7 +333,7 @@ class AdminCampaignList extends React.Component {
Done
</Button>
]
: [
: [
<Button
key="cancel"
variant="contained"
Expand Down Expand Up @@ -372,6 +366,7 @@ class AdminCampaignList extends React.Component {

{isAdmin ? (
<AdminCampaignListSpeedDial
id="adminCampaignListSpeedDial"
ariaLabel="Open create campaign actions"
style={theme.components.floatingButton}
onFocus={this.handleSpeedDialOnFocus}
Expand Down

0 comments on commit 7ab322c

Please sign in to comment.