Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Mar 1, 2019
1 parent 849b687 commit 337ed39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/src/ui/lib/highlight-text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface IHighlightTextProps {
readonly highlight: ReadonlyArray<number>
}

export const HighlightText: React.SFC<IHighlightTextProps> = ({
export const HighlightText: React.FunctionComponent<IHighlightTextProps> = ({
text,
highlight,
}) => (
Expand Down
10 changes: 5 additions & 5 deletions app/src/ui/merge-conflicts/unmerged-file.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
* Renders an unmerged file status and associated buttons for the merge conflicts modal
* (An "unmerged file" can be conflicted _and_ resolved or _just_ conflicted)
*/
export const renderUnmergedFile: React.SFC<{
export const renderUnmergedFile: React.FunctionComponent<{
readonly onDismissed: () => void
readonly file: WorkingDirectoryFileChange
/** repository this file is in (for pathing and git operations) */
Expand Down Expand Up @@ -100,7 +100,7 @@ export const renderUnmergedFile: React.SFC<{
}

/** renders the status of a resolved file (of a manual or markered conflict) and associated buttons for the merge conflicts modal */
const renderResolvedFile: React.SFC<{
const renderResolvedFile: React.FunctionComponent<{
readonly repository: Repository
readonly path: string
readonly status: ConflictedFileStatus
Expand Down Expand Up @@ -130,7 +130,7 @@ const renderResolvedFile: React.SFC<{
}

/** renders the status of a manually conflicted file and associated buttons for the merge conflicts modal */
const renderManualConflictedFile: React.SFC<{
const renderManualConflictedFile: React.FunctionComponent<{
readonly path: string
readonly status: ManualConflict
readonly repository: Repository
Expand Down Expand Up @@ -180,7 +180,7 @@ function renderConflictedFileWrapper(
)
}

const renderConflictedFileWithConflictMarkers: React.SFC<{
const renderConflictedFileWithConflictMarkers: React.FunctionComponent<{
readonly onDismissed: () => void
readonly file: WorkingDirectoryFileChange
readonly path: string
Expand Down Expand Up @@ -329,7 +329,7 @@ function resolvedFileStatusString(
return 'No conflicts remaining'
}

const renderResolvedFileStatusSummary: React.SFC<{
const renderResolvedFileStatusSummary: React.FunctionComponent<{
path: string
status: ConflictedFileStatus
repository: Repository
Expand Down

0 comments on commit 337ed39

Please sign in to comment.