update packages and tabs shotcode

This commit is contained in:
somrat sorkar
2024-02-05 15:38:36 +06:00
parent 394552d666
commit 096966db39
2 changed files with 7 additions and 12 deletions
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "astroplate",
"version": "3.3.2",
"version": "3.3.3",
"description": "Astro and Tailwindcss boilerplate",
"author": "zeon.studio",
"license": "MIT",
@@ -14,19 +14,19 @@
"remove-darkmode": "node scripts/removeDarkmode.js && yarn format"
},
"dependencies": {
"@astrojs/mdx": "^2.1.0",
"@astrojs/mdx": "^2.1.1",
"@astrojs/react": "^3.0.9",
"@astrojs/rss": "^4.0.4",
"@astrojs/sitemap": "^3.0.5",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.2.6",
"astro": "^4.3.2",
"astro-auto-import": "^0.4.2",
"astro-font": "^0.0.77",
"date-fns": "^3.3.1",
"disqus-react": "^1.1.5",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
"marked": "^11.2.0",
"marked": "^12.0.0",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"prop-types": "^15.8.1",
@@ -42,13 +42,13 @@
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/marked": "^5.0.2",
"@types/node": "20.11.7",
"@types/react": "18.2.48",
"@types/node": "20.11.16",
"@types/react": "18.2.53",
"@types/react-dom": "18.2.18",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"sass": "^1.70.0",
-5
View File
@@ -1,11 +1,6 @@
import { marked } from "marked";
import React, { useEffect, useRef, useState } from "react";
marked.use({
mangle: false,
headerIds: false,
});
const Tabs = ({ children }: { children: React.ReactElement }) => {
const [active, setActive] = useState<number>(0);
const [defaultFocus, setDefaultFocus] = useState<boolean>(false);