Skip to content

Commit

Permalink
solve linting in MessageScreen.jsx (CardSorter#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkyriakou23 authored Nov 27, 2023
1 parent 94892bb commit c762a93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sorter/src/elements/components/MessageScreen.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// eslint-disable-next-line no-unused-vars
import React, { useRef } from 'react';
import React, {useRef} from 'react';
import PropTypes from 'prop-types';
import L from '../../localization/LocalizedText';
const MessageScreen = ({ message, link, renderLink, image, submessage }) => {
const MessageScreen = ({message, link, renderLink, image, submessage}) => {
if (renderLink) {
link = link.startsWith('http://') || link.startsWith('https://') ? link : `http://${link}`;
}
Expand Down

0 comments on commit c762a93

Please sign in to comment.