Skip to content

Commit

Permalink
fix: Import in FlagSwitcher
Browse files Browse the repository at this point in the history
  • Loading branch information
paultranvan committed Mar 8, 2021
1 parent 1a72770 commit 5ccc780
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cozy-flags/src/FlagSwitcher.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import flag from './flag'
import connect from './connect'

const FlagInput = ({ name, onChange }) => {
return (
Expand Down Expand Up @@ -45,7 +46,7 @@ const human = name => {
return name.replace(/[a-z][A-Z]/g, str => str[0] + ' ' + str[1].toLowerCase())
}

const FlagList = flag.connect(() => {
const FlagList = connect(() => {
const allFlags = flag.list()
return (
<div>
Expand Down

0 comments on commit 5ccc780

Please sign in to comment.