From fa97111f0030f057808b373576e0e0c56db71286 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 21 Jul 2015 14:06:21 -0700 Subject: [PATCH] bump thundercats --- client/index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/index.js b/client/index.js index 0ee5c97c86..e95bd0f908 100644 --- a/client/index.js +++ b/client/index.js @@ -3,6 +3,7 @@ import React from 'react'; import { Router } from 'react-router'; import { history } from 'react-router/lib/BrowserHistory'; import debugFactory from 'debug'; +import { hydrate } from 'thundercats'; import { Render } from 'thundercats-react'; import { app$ } from '../common/app'; @@ -18,8 +19,7 @@ app$(history) .flatMap( ({ AppCat }) => { const appCat = AppCat(); - return appCat - .hydrate(catState) + return hydrate(appCat, catState) .map(() => appCat); }, ({ initialState }, appCat) => ({ initialState, appCat }) diff --git a/package.json b/package.json index 78d6c5e945..321c549ed7 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "rx": "^2.5.3", "sanitize-html": "~1.6.1", "source-map-support": "^0.3.2", - "thundercats": "^2.0.0-rc9", + "thundercats": "^2.0.0", "thundercats-react": "0.0.5", "twit": "~1.1.20", "uglify-js": "~2.4.15",