forked from xchem/fragalysis-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xchem#16 create init snapshot and restore from given snapshot
- Loading branch information
1 parent
7de76b8
commit 1d4c854
Showing
3 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import React, { memo, useState } from 'react'; | ||
import { Typography } from '@material-ui/core'; | ||
import { useSelector } from 'react-redux'; | ||
|
||
export const NewSnapshotForm = memo(() => { | ||
return; | ||
const snapshotID = useSelector(state => state.projectReducers.currentSnapshot.id); | ||
// TODO if exists children of existing snapshot, create branch | ||
return <Typography variant="h3">Snapshot details</Typography>; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters