export string to constant

This commit is contained in:
Abhinav 2022-01-24 17:26:54 +05:30
parent f521c052e5
commit ecd4a2588f
2 changed files with 2 additions and 1 deletions

View file

@ -58,7 +58,7 @@ export function AbuseReportForm({ show, close, url }: Iprops) {
show={show} show={show}
onHide={close} onHide={close}
attributes={{ attributes={{
title: 'abuse report', title: constants.ABUSE_REPORT,
staticBackdrop: true, staticBackdrop: true,
}}> }}>
<div style={{ padding: '5px 20px' }}> <div style={{ padding: '5px 20px' }}>

View file

@ -643,6 +643,7 @@ const englishConstants = {
DISABLE_PUBLIC_SHARING: "'disable public sharing", DISABLE_PUBLIC_SHARING: "'disable public sharing",
DISABLE_PUBLIC_SHARING_MESSAGE: DISABLE_PUBLIC_SHARING_MESSAGE:
'are you sure you want to disable public sharing?', 'are you sure you want to disable public sharing?',
ABUSE_REPORT: "'abuse report'",
}; };
export default englishConstants; export default englishConstants;