Skip to content

Commit

Permalink
Fix: resolving the timestamp bug existing in react-native-reanimated lib
Browse files Browse the repository at this point in the history
  • Loading branch information
zoldyzdk committed Jul 19, 2023
1 parent 56ea019 commit 8a54592
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import { captureRef } from "react-native-view-shot";
import domtoimage from "dom-to-image";
const PlaceHolderImage = require("./assets/images/background-image.png");

if (typeof window !== "undefined") {
window._frameTimestamp = null;
}

export default function App() {
const [selectedImage, setSelectedImage] = useState(null);
const [showAppOptions, setShowAppOptions] = useState(false);
Expand Down

0 comments on commit 8a54592

Please sign in to comment.