Skip to content

Commit a29ca82

Browse files
committed
fix: remove unused tsx files
1 parent c3e2a9b commit a29ca82

File tree

9 files changed

+4
-68
lines changed

9 files changed

+4
-68
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
- name: Run tests
5555
run: pnpm test:ci
5656

57-
- name: Build storybook
58-
run: pnpm storybook:build
57+
# - name: Build storybook
58+
# run: pnpm storybook:build
5959

6060
- name: Build package
6161
run: pnpm build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@joelshejar/react-ai-translator",
33
"description": "",
4-
"version": "0.0.57",
4+
"version": "0.0.59",
55
"author": "Joel Rajesh",
66
"license": "MIT",
77
"keywords": [],

src/Example.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/Example.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/hooks/useTranslation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect, useRef, useState } from "react";
22

3-
const useTranslation = (_workerScript) => {
3+
const useTranslation = () => {
44
const worker = useRef(null);
55

66
// States for managing translation

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
export * from "./hooks/index";
2-
3-
export * from "./Example";

src/stories/Example.stories.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/Example.test.tsx

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/__snapshots__/Example.test.tsx.snap

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)