mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +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;
|