Skip to content

Commit

Permalink
remove unneeded brackets and proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
DenverCoder544 committed Dec 18, 2024
1 parent 2548529 commit 202acff
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { LocaleProvider } from 'oskari-ui/util';
export const ReplaceConfirmDialogContent = ({ okCallback, closeCallback }) => {
return <LocaleProvider value={{ bundleKey: 'Publisher2' }}>
<DialogContentContainer>
{<Message messageKey='BasicView.confirm.replace.msg'/>}
<Message messageKey='BasicView.confirm.replace.msg'/>
<ButtonContainer>
<SecondaryButton type='cancel' onClick={closeCallback}/>
<Button type='primary' onClick={okCallback}>
Expand All @@ -20,8 +20,6 @@ export const ReplaceConfirmDialogContent = ({ okCallback, closeCallback }) => {
};

ReplaceConfirmDialogContent.propTypes = {
message: PropTypes.string,
okCallback: PropTypes.func,
closeCallback: PropTypes.func,
replaceButtonTitle: PropTypes.string
closeCallback: PropTypes.func
};

0 comments on commit 202acff

Please sign in to comment.