mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
18 lines
323 B
JavaScript
18 lines
323 B
JavaScript
import { createSlice } from '@reduxjs/toolkit';
|
|
|
|
const name = 'institutionalFeatures';
|
|
|
|
const initialState = {};
|
|
|
|
const slice = createSlice({
|
|
name,
|
|
initialState,
|
|
});
|
|
|
|
const { reducer } = slice;
|
|
|
|
export default reducer;
|
|
|
|
export const getInstitutionalConnectRequests = (state) =>
|
|
state.metamask[name]?.connectRequests;
|