Skip to content

Import ComponentClass and Component #106

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

Merged
merged 1 commit into from
Jul 12, 2018
Merged

Import ComponentClass and Component #106

merged 1 commit into from
Jul 12, 2018

Conversation

bartekczyz
Copy link
Contributor

Both ComponentClass and Component should be imported from react. react-redux doesn't contain those two.

Both ComponentClass and Component should be imported from `react`. `react-redux` doesn't contain those two.
@codecov
Copy link

codecov bot commented Jul 11, 2018

Codecov Report

Merging #106 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   95.51%   95.51%           
=======================================
  Files           6        6           
  Lines         245      245           
  Branches       73       73           
=======================================
  Hits          234      234           
  Misses         10       10           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae0072b...5f1576d. Read the comment docs.

@ryandrewjohnson
Copy link
Owner

Thanks for the fix 👍

@ryandrewjohnson ryandrewjohnson merged commit ec687ae into ryandrewjohnson:master Jul 12, 2018
ryandrewjohnson pushed a commit that referenced this pull request Jul 13, 2018
Both ComponentClass and Component should be imported from `react`. `react-redux` doesn't contain those two.
ryandrewjohnson added a commit that referenced this pull request Jul 14, 2018
…issing translation fallbacks (#110)

* setting up getOptions to return the first lagnuage available as default if a default language isn't provided

* set up the missing translation callback to localize the translation before passing it as a value

* prettier and fixing some flow issues with onMissingTranslation fixes

* Import ComponentClass and Component (#106)

Both ComponentClass and Component should be imported from `react`. `react-redux` doesn't contain those two.

* update CHANGELOG

* 3.2.2

* move onMissingTranslation logic from getLocalizedElement to getTranslate

* fix flow issues

* remove uneeded import from TS definition

* add missing default translation message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants