Skip to content

Commit

Permalink
fix: fix the path of importing typist
Browse files Browse the repository at this point in the history
  • Loading branch information
jason89521 committed Sep 18, 2022
1 parent bd70f0d commit 445dd9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"preinstall": "npx only-allow pnpm",
"commit": "cz",
"test": "pnpm -r --filter ./packages/* run test",
"build:website": "pnpm -r --filter ./packages/* run build:website",
"build:packages": "pnpm -r --filter ./packages/* run build:package",
"prepublishOnly": "pnpm build:lib"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-typist-component/dev/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Typist from '../packages/react-typist-component/src';
import Typist from '../src';
import Header from './components/Header';
import Section from './components/Section';
import PauseExample from './components/PauseExample';
Expand Down
2 changes: 1 addition & 1 deletion packages/react-typist-component/dev/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import Typist from '../../packages/react-typist-component/src';
import Typist from '../../src';
import randomDelayGenerator from '../utils/randomDelayGenerator';

export default function Header() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';

import Typist from '../../packages/react-typist-component/src';
import Typist from '../../src';
import Section from './Section';

export default function PauseExample() {
Expand Down

0 comments on commit 445dd9d

Please sign in to comment.