Commit 3347fa4d authored by Ли Джен Сеп's avatar Ли Джен Сеп 💬

Удалил логи

parent 11028584
......@@ -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