From cb30b5008f83e96b76b94ad7e5a44dbb7a46ee91 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 3 Apr 2020 13:17:12 +0700 Subject: [PATCH] fix: use useCMS directly from tinacms --- packages/tinacms-file-field/package.json | 1 - packages/tinacms-file-field/src/components/file.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/tinacms-file-field/package.json b/packages/tinacms-file-field/package.json index e6e866b..fc594a3 100644 --- a/packages/tinacms-file-field/package.json +++ b/packages/tinacms-file-field/package.json @@ -13,7 +13,6 @@ "npm": ">=5" }, "dependencies": { - "react-tinacms": "^0.9.15", "react-dropzone": "10.2.1", "styled-components": "^5.0.1" }, diff --git a/packages/tinacms-file-field/src/components/file.js b/packages/tinacms-file-field/src/components/file.js index eb76669..a05c104 100644 --- a/packages/tinacms-file-field/src/components/file.js +++ b/packages/tinacms-file-field/src/components/file.js @@ -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';