]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/post/post-listing.tsx
fix: Remove unnecessary string interpolations
[lemmy-ui.git] / src / shared / components / post / post-listing.tsx
index ac90b0d8fb13bdd04731eb7409fa9884331aa5b9..449f69630ad90294abccfc203897aa192ccf4c8a 100644 (file)
@@ -1235,12 +1235,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
                 value={this.state.banReason}
                 onInput={linkEvent(this, this.handleModBanReasonChange)}
               />
-              <label className="col-form-label" htmlFor={`mod-ban-expires`}>
+              <label className="col-form-label" htmlFor="mod-ban-expires">
                 {I18NextService.i18n.t("expires")}
               </label>
               <input
                 type="number"
-                id={`mod-ban-expires`}
+                id="mod-ban-expires"
                 className="form-control me-2"
                 placeholder={I18NextService.i18n.t("number_of_days")}
                 value={this.state.banExpireDays}