Update publish to gist modal with workspace name. (#968)

Fixes https://github.com/ethereum/remix-project/issues/956
pull/5370/head
David Disu 4 years ago committed by GitHub
parent 6d41afb8b5
commit 9bb479c575
  1. 2
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx

@ -559,7 +559,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
}
const publishToGist = () => {
modal('Create a public gist', 'Are you sure you want to publish all your files in browser directory anonymously as a public gist on github.com? Note: this will not include directories.', {
modal('Create a public gist', `Are you sure you want to anonymously publish all your files in the ${name} workspace as a public gist on github.com? Note: this will not include directories.`, {
label: 'OK',
fn: toGist
}, {

Loading…
Cancel
Save