Skip to content

Commit

Permalink
chore: chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Rain120 committed Sep 11, 2024
1 parent 3d8b6b8 commit dfd52aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
run: |
pnpm install
- name: Build with Next.js
- name: Build
run: pnpm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
path: ./dist

deploy:
runs-on: ubuntu-latest
Expand All @@ -74,4 +74,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: out # The folder the action should deploy.
folder: dist # The folder the action should deploy.
2 changes: 1 addition & 1 deletion src/components/editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface EditorProps extends MonacoEditorProps {
const Editor = React.forwardRef(
({ className, ...monacoEditorProps }: EditorProps, ref) => {
const [value, setValue] = useState();
const editorRef = React.useRef(null);
const editorRef = React.useRef<any>(null);
const { setEditor } = useMonacoEditor();

useLayoutEffect(() => {
Expand Down

0 comments on commit dfd52aa

Please sign in to comment.