New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Unknown prop attr on tag #172

Closed
witcradg opened this Issue Aug 7, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@witcradg

witcradg commented Aug 7, 2018

bundle.js:8939 Warning: Unknown prop attr on tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in svg (created by IconBase)
in IconBase (created by Unknown)
in Unknown
in div

version: "react-icons": "^3.0.5"
Chrome Version 68.0.3440.84 (Official Build) (64-bit)
using Babel and WebPack

I've stripped everything out of the project except these lines in index.js:

import React from 'react';
import { render } from 'react-dom';
import { FaBeer } from 'react-icons/fa';

window.React = React;

render( 
	<div>
        	< FaBeer />
	</div>,
	document.getElementById('react-container')
)

The icon displays properly but I don't understand what the issue is that's producing this warning.
I'm new to React and react-icons.

@kamijin-fanta

This comment has been minimized.

Show comment
Hide comment
@kamijin-fanta

kamijin-fanta Aug 8, 2018

Member

I understand this problem.
we will need fix.

Member

kamijin-fanta commented Aug 8, 2018

I understand this problem.
we will need fix.

@ahutchings

This comment has been minimized.

Show comment
Hide comment
@ahutchings

ahutchings Sep 22, 2018

Contributor

@kamijin-fanta @witcradg This was addressed in #184 which is in the v3.1.0 release.

Contributor

ahutchings commented Sep 22, 2018

@kamijin-fanta @witcradg This was addressed in #184 which is in the v3.1.0 release.

@kamijin-fanta

This comment has been minimized.

Show comment
Hide comment
@kamijin-fanta

kamijin-fanta Oct 11, 2018

Member

it resolved!

Member

kamijin-fanta commented Oct 11, 2018

it resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment