Merge branch 'master' into contract-verification-i18n

pull/5591/head
Joseph Izang 3 weeks ago committed by GitHub
commit a679087a83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/learneth/src/pages/StepDetail/index.tsx
  2. 4
      libs/remix-ui/git/src/lib/listeners.ts

@ -85,7 +85,7 @@ function StepDetailPage() {
<div className="errorloadingspacer"></div> <div className="errorloadingspacer"></div>
<h1 className="pl-3 pr-3 pt-3 pb-1">{clonedStep.name}</h1> <h1 className="pl-3 pr-3 pt-3 pb-1">{clonedStep.name}</h1>
<button <button
className="w-100nav-item rounded-0 nav-link btn btn-success test" className="w-100 nav-item rounded-0 nav-link btn btn-success test"
onClick={() => { onClick={() => {
dispatch({ dispatch({
type: 'remixide/displayFile', type: 'remixide/displayFile',

@ -36,7 +36,7 @@ class AsyncDebouncedQueue {
} }
} }
export const setCallBacks = (viewPlugin: Plugin, gitDispatcher: React.Dispatch<gitActionDispatch>, appDispatcher: React.Dispatch<AppAction>, loaderDispatcher: React.Dispatch<any>, setAtivePanel: React.Dispatch<React.SetStateAction<string>>, platform: appPlatformTypes) => { export const setCallBacks = (viewPlugin: Plugin, gitDispatcher: React.Dispatch<gitActionDispatch>, appDispatcher: React.Dispatch<AppAction>, loaderDispatcher: React.Dispatch<any>, setActivePanel: React.Dispatch<React.SetStateAction<string>>, platform: appPlatformTypes) => {
plugin = viewPlugin plugin = viewPlugin
gitDispatch = gitDispatcher gitDispatch = gitDispatcher
loaderDispatch = loaderDispatcher loaderDispatch = loaderDispatcher
@ -200,7 +200,7 @@ export const setCallBacks = (viewPlugin: Plugin, gitDispatcher: React.Dispatch<g
}) })
plugin.on('dgit' as any, 'openPanel', async (panel: string) => { plugin.on('dgit' as any, 'openPanel', async (panel: string) => {
setAtivePanel(panel) setActivePanel(panel)
}) })
plugin.on('dgit' as any, 'init', async () => { plugin.on('dgit' as any, 'init', async () => {

Loading…
Cancel
Save