Skip to content

Commit

Permalink
Merge pull request #12 from Ritika8081/main
Browse files Browse the repository at this point in the history
created file for update version
  • Loading branch information
akadeepesh authored Sep 4, 2024
2 parents d140bb2 + 3f79519 commit 20b4f78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Version.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// version.tsx
export const VERSION = "2.0.0a";
2 changes: 1 addition & 1 deletion src/components/Connection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ const Connection: React.FC<ConnectionProps> = ({
onClick={saveData} // Adjust functionality for saving multiple datasets if needed
disabled={!hasData}
>
<FileArchive className="mr-2" />
<Download size={16} className="mr-2" />
<p className="text-lg">{datasets}</p>
</Button>
<Button
Expand Down
4 changes: 2 additions & 2 deletions src/components/Contributors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { Dialog, DialogContent, DialogTrigger } from "./ui/dialog";
import { CircleAlert } from "lucide-react";
import { Button } from "./ui/button";
import Link from "next/link";
import { VERSION } from "../../Version";

const Version = process.env.NEXT_PUBLIC_VERSION;
const contributors = [
{
name: "Deepak Khatri",
Expand Down Expand Up @@ -63,7 +63,7 @@ const Contributors = () => {
<DialogContent onOpenAutoFocus={(e) => e.preventDefault()}>
<Card className="border-none -m-5">
<CardHeader>
<p>Chords:{Version}</p>
<p>Chords:{VERSION}</p>
<CardTitle className="text-lg">Contributors</CardTitle>
<Separator className="bg-primary" />
</CardHeader>
Expand Down

0 comments on commit 20b4f78

Please sign in to comment.