Skip to content

Commit

Permalink
Merge branch 'master' into 2347-broken-loginsignup-buttons-styles-on-…
Browse files Browse the repository at this point in the history
…mobile
  • Loading branch information
flacial authored Sep 30, 2022
2 parents 027c650 + f3680e3 commit f79b170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/DiffView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const DiffView: React.FC<{
if (!change.isDelete) newValue.push(change.content)
})
})
const syntaxHighlight = (str: string, n: number): any => {
const syntaxHighlight = (str: string, n: number) => {
const highlighted = Prism.highlight(
str,
Prism.languages[extension],
Expand Down
2 changes: 1 addition & 1 deletion components/ReviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const ReviewButtons: React.FC<{
const [addComment] = useAddCommentMutation()
const [accept] = useMutation(ACCEPT_SUBMISSION)
const [reject] = useMutation(REJECT_SUBMISSION)
const reviewSubmission = (review: any) => async () => {
const reviewSubmission = (review: typeof accept) => async () => {
await review({
variables: {
submissionId: submissionId,
Expand Down

0 comments on commit f79b170

Please sign in to comment.