yearn / yearn.fi

https://yearn.fi
GNU General Public License v3.0
22 stars 48 forks source link

feat: refactor wrappers #218

Closed Majorfi closed 1 year ago

Majorfi commented 1 year ago
          These wrappers seem all the same, the only thing changing is the context.

Do we want to extract this to its own component that just takes the context?

_Originally posted by @karelianpie in https://github.com/yearn/yearn.fi/pull/214#discussion_r1212725002_

karelianpie commented 1 year ago

Closing as I had a look at this one and it's a bit more complex that it seemed at first glance, each of these wrappers is being wrapped sometimes by another context that changes from app to app