mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
updating react hook dependency
This commit is contained in:
parent
18a446850c
commit
1c6c300cf6
@ -16,7 +16,7 @@ export default function Permission({
|
||||
updateData(data)
|
||||
}
|
||||
getData()
|
||||
}, [])
|
||||
}, [eventType])
|
||||
console.log('eventType', eventType)
|
||||
if (data === false) {
|
||||
const message = `Sorry, you don't have permission to ${eventType}. Please make sure you are logged in.`
|
||||
|
Loading…
Reference in New Issue
Block a user