Clear log should now work
This commit is contained in:
@@ -104,7 +104,11 @@ const Test = () => {
|
||||
flexDirection: "column",
|
||||
}}
|
||||
>
|
||||
<LogBoxForScripts title="Helper scripts" logs={snap.scriptLogs} />
|
||||
<LogBoxForScripts
|
||||
title="Helper scripts"
|
||||
logs={snap.scriptLogs}
|
||||
clearLog={() => (state.scriptLogs = [])}
|
||||
/>
|
||||
</Flex>
|
||||
)}
|
||||
<Flex>
|
||||
|
||||
Reference in New Issue
Block a user