mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Make Camera app use router (#69)
* Make Camera app use router * Remove unused hooks * Fucking communicate messages with camera with router * Improved sharing in messages flow * Fix clipboard * Removeunused imports * improve routing helpers * Fix bug :D * Fix stupid thing * Add docs to useQueryParams hook
This commit is contained in:
1 parent
447c51a07e
commit
40f9555b39
34 files changed
+481
-294
No files matched your search
@@ -1,7 +1,5 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Button } from '@material-ui/core';
|
||||
import CloseIcon from '@material-ui/icons/Close';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import Nui from '../../../os/nui-events/utils/Nui';
|
||||
@@ -32,12 +30,6 @@ const useStyles = makeStyles((theme) => ({
|
||||
margin: 5,
|
||||
marginTop: 20,
|
||||
},
|
||||
close: {
|
||||
position: 'absolute',
|
||||
top: '12px',
|
||||
right: '4px',
|
||||
zIndex: 2,
|
||||
},
|
||||
buttonsContainer: {
|
||||
paddingBottom: '8px',
|
||||
display: 'flex',
|
||||
@@ -160,9 +152,6 @@ export const AddTweetModal = () => {
|
||||
|
||||
return (
|
||||
<Modal visible={modalVisible} handleClose={_handleClose}>
|
||||
<Button className={classes.close} onClick={_handleClose}>
|
||||
<CloseIcon color='action' />
|
||||
</Button>
|
||||
<TweetMessage message={message} handleChange={handleMessageChange} />
|
||||
<ImagePrompt
|
||||
visible={showImagePrompt}
|
||||
|
||||
Reference in new issue
Block a user