mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +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;
|