Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update to next dom-chef - #3904

Closed
fregante wants to merge 2 commits into
mainfrom
next-dom-chef
Closed

fregante wants to merge 2 commits into
mainfrom
next-dom-chef

Conversation

@fregante

Copy link
Copy Markdown
Member

@fregante fregante added the meta Related to Refined GitHub itself label Jan 19, 2021
select('.d-block.mb-2[href^="/contact"]')!.after(
<a href={String(actionURL)} className="d-block mb-2">
<SearchIcon width={14} className="text-gray-dark mr-2"/>Usage examples
<SearchIcon width={14} className={SearchIcon.defaultProps.className + ' text-gray-dark mr-2'}/>Usage examples

@fregante fregante Jan 20, 2021

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugly.

Also the types seem to be broken

  • because SearchIcon is now any
    • because React.FC is any in octicon’s types.

Did vadimdemedes/dom-chef#62 break anything here or has it always been like this? We also have this In our globals.d.ts:

declare module 'react' {
	const FC = (): JSX.Element => JSX.Element;
	const React = {FC};
	export default React;
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheRealSyler have you been using version 5 of dom-chef since your PR? Do you know whether this block needs to be dropped or included in dom-chef?

href={downloadUrl.href}
>
<DownloadIcon className="mr-1"/>
<DownloadIcon className={DownloadIcon.defaultProps.className + ' mr-1'}/>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it should just use

Suggested change
<DownloadIcon className={DownloadIcon.defaultProps.className + ' mr-1'}/>
<DownloadIcon className="octicon octicon-download mr-1"/>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fregante

Copy link
Copy Markdown
Member Author

Closing because that PR is inactive

@fregante fregante closed this Feb 21, 2021
@fregante
fregante deleted the next-dom-chef branch February 21, 2021 17:47
@fregante fregante mentioned this pull request Mar 2, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

2 participants