Skip to content

Commit

Permalink
add math template
Browse files Browse the repository at this point in the history
  • Loading branch information
qftgtr committed Jun 5, 2021
1 parent 947c3da commit 38ad8be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Input.defaultProps = {
spellCheck: 'false'
}

NewProjectModal.defaultProps.templates.splice(2, 1, { id: 'math', display: 'BEP20 & NFT from mathwallet' })

const UserHomepage = lazy(() => import('./UserHomepage' /* webpackChunkName: "tabs" */))
const Project = lazy(() => import('./Project' /* webpackChunkName: "tabs" */))
const Contract = lazy(() => import('./Contract' /* webpackChunkName: "tabs" */))
Expand Down
4 changes: 4 additions & 0 deletions webpack.main.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ module.exports = merge.smart(baseConfig, {
},
plugins: [
new CopyPlugin([
{
from: 'node_modules/@obsidians/bsc-project/main/templates',
to: 'templates'
},
{
from: 'node_modules/@obsidians/eth-project/main/templates',
to: 'templates'
Expand Down

0 comments on commit 38ad8be

Please sign in to comment.