Skip to content

Commit ba6529a

Browse files
committed
Updated to latest thin version
1 parent 940b1d8 commit ba6529a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React, { useState, useEffect } from 'react';
22
import * as ReactDOM from 'react-dom'
33

44
import { query, initThinBackend, DataSubscription, createRecord, updateRecord, deleteRecord, createRecords, ensureIsUser, logout, getCurrentUserId } from 'thin-backend';
5-
import { useQuery, useCurrentUser, ThinBackend } from 'thin-backend/react';
6-
5+
import { useQuery, useCurrentUser, ThinBackend } from 'thin-backend-react';
6+
import 'thin-backend-react/auth.css';
77

88
function App() {
99
// With `useQuery()` you can access your database:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"esbuild": "^0.13.1",
1111
"react": "^17.0.2",
1212
"react-dom": "^17.0.2",
13-
"thin-backend": ">=0.8.1",
13+
"thin-backend": ">=0.9.0",
1414
"thin-backend-react": "*",
1515
"typescript": "^4.5.3"
1616
},

0 commit comments

Comments
 (0)