openpsychotherapy / behavioral-activation

MIT License
1 stars 0 forks source link

Storage implementation #3

Closed EMattfolk closed 3 years ago

EMattfolk commented 3 years ago

I have started adding some of the hooks we will be using. Comments are appreciated!

Also, we will be writing in english in these pull requests.

And yes, there are no comments yet.

malin-mallan commented 3 years ago

I get an error when trying you code.

image

EMattfolk commented 3 years ago

I get an error when trying you code.

Did you npm install before running?

malin-mallan commented 3 years ago

I get an error when trying you code.

Did you npm install before running?

Oh I missed that... Now the code is working on both mobile and web!

EMattfolk commented 3 years ago

Plonk this in App.tsx to test (only works in web):

import React from 'react';
import StorageTest from './src/storage/components/storageTest';

export default function App() {
  return (
      <StorageTest />
  );
}
malin-mallan commented 3 years ago

the test program works really good in the web!