Skip to content

Commit

Permalink
Merge pull request #363 from gofynd/fix/react-default-luxe
Browse files Browse the repository at this point in the history
Make Luxe default theme for react
  • Loading branch information
ZaidRehmanQureshi authored Sep 6, 2024
2 parents 22cf2e1 + 0e4598d commit 90f5bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gofynd/fdk-cli",
"version": "6.1.0",
"version": "6.1.1",
"main": "index.js",
"license": "MIT",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3085,15 +3085,15 @@ export default class Theme {
const themeName = defaultTheme.name;
let url;
if (themeType === 'react') {
url = `https://github.com/gofynd/flow.git`;
url = `https://github.com/gofynd/Luxe.git`;
} else {
url = `https://github.com/gofynd/${themeName}.git`;
}
try {
spinner.start();
const git = simpleGit();
if (themeType === 'react') {
await git.clone(url, targetDirectory, ['--branch', 'master']);
await git.clone(url, targetDirectory, ['--branch', 'main']);
} else {
await git.clone(url, targetDirectory);
}
Expand Down

0 comments on commit 90f5bcb

Please sign in to comment.