|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
385 bytes
|
| Line | |
|---|
| 1 | import { createSlice } from '@reduxjs/toolkit';
|
|---|
| 2 | var initialState = null;
|
|---|
| 3 | var reducers = {
|
|---|
| 4 | updatePolarOptions: (_state, action) => {
|
|---|
| 5 | return action.payload;
|
|---|
| 6 | }
|
|---|
| 7 | };
|
|---|
| 8 | var polarOptionsSlice = createSlice({
|
|---|
| 9 | name: 'polarOptions',
|
|---|
| 10 | initialState,
|
|---|
| 11 | reducers
|
|---|
| 12 | });
|
|---|
| 13 | export var {
|
|---|
| 14 | updatePolarOptions
|
|---|
| 15 | } = polarOptionsSlice.actions;
|
|---|
| 16 | export var polarOptionsReducer = polarOptionsSlice.reducer; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.