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

Fixes https://github.com/ethereum/remix-project/issues/956
yann300-patch-27
David Disu 4 years ago committed by GitHub
parent f7df3e6e5b
commit d1e7c4ee52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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