DarkFlorist / TheInterceptor

The Interceptor is a browser extension that explains what kind of Ethereum transactions you are making
The Unlicense
139 stars 20 forks source link

can alternatively move the condition within `ViewSelector.View` #1106

Open KillariDev opened 1 month ago

KillariDev commented 1 month ago
          can alternatively move the condition within `ViewSelector.View`
<ViewSelector.View title = 'View Parsed' value = 'parsed'>
    { parsedInputData?.type === 'Parsed' ? /*...*/ : /*...*/ }
<ViewSelector.View>

_Originally posted by @jubalm in https://github.com/DarkFlorist/TheInterceptor/pull/1094#discussion_r1701478664_