summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 18:41:55 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 18:41:55 -0700
commitac3be9cc96def85159db9a272f51fef3d825a8b0 (patch)
tree9c68a19fc3a105ed29cce04ae08ed7bc126b6b06
parent80878e73acf7fea6731a78ea5165909dc8bae3b9 (diff)
Fix comment
-rw-r--r--src/sunlight-theme.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sunlight-theme.js b/src/sunlight-theme.js
index a65f6e6..8493356 100644
--- a/src/sunlight-theme.js
+++ b/src/sunlight-theme.js
@@ -15,7 +15,7 @@ export const SunlightTheme = ({ children, middleware }) => {
const [lightLevel] = useSunlight()
const theme = { lightLevel }
// if we have at least one middleware function,
- // them in a pipe (left to right),
+ // apply them in a pipe (left to right)
const transformedTheme =
middleware && middleware.length ? pipe(...middleware)(theme) : theme
return <ThemeProvider theme={transformedTheme}>{children}</ThemeProvider>