1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui/ducks/institutional/institutional.js

18 lines
323 B
JavaScript
Raw Normal View History

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;