Commit 6c68c6da authored by Ли Джен Сеп's avatar Ли Джен Сеп 💬

Merge branch 'updateFront' into 'master'

Удалил логи

See merge request !17
parents cd32547d 3347fa4d
......@@ -21,8 +21,6 @@ const initialState: RequestState = {
export const encodeMessage = createAsyncThunk('request/encode', async (newMessage: IData) => {
try {
const { data } = await axiosClient.post('/encode', newMessage);
console.log(data);
console.log(newMessage);
return data.encoded;
} catch (error: any) {
......@@ -33,8 +31,6 @@ export const encodeMessage = createAsyncThunk('request/encode', async (newMessag
export const decodeMessage = createAsyncThunk('request/decode', async (newMessage: IData) => {
try {
const { data } = await axiosClient.post('/decode', newMessage);
console.log(data);
console.log(newMessage);
return data.decoded;
} catch (error: any) {
throw new Error(error.response?.data?.message || 'Error encoding message');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment