Skip to content

Commit

Permalink
fix: use useCMS directly from tinacms
Browse files Browse the repository at this point in the history
  • Loading branch information
mmintel committed Apr 3, 2020
1 parent 5b81584 commit cb30b50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/tinacms-file-field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"npm": ">=5"
},
"dependencies": {
"react-tinacms": "^0.9.15",
"react-dropzone": "10.2.1",
"styled-components": "^5.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tinacms-file-field/src/components/file.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React from 'react';
import { useCMS } from 'react-tinacms';
import { useCMS } from 'tinacms';
import styled, { css } from 'styled-components';
import FileUpload from './file-upload';

Expand Down

0 comments on commit cb30b50

Please sign in to comment.